Skip to content

Commit

Permalink
Ensure that \n is used as the newline character
Browse files Browse the repository at this point in the history
Multiline Editor for "Description" inserts whitespace if CR is left in the string
  • Loading branch information
ernstblechaPT authored and azoitl committed Apr 23, 2024
1 parent dd2f94c commit 0f9f2c1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,7 @@ protected static String fullyUnEscapeValue(final String value) {
escapedValue = escapedValue.replace("'", "\'"); //$NON-NLS-1$ //$NON-NLS-2$
escapedValue = escapedValue.replace("
", "\n"); //$NON-NLS-1$ //$NON-NLS-2$
escapedValue = escapedValue.replace("	", "\t"); //$NON-NLS-1$ //$NON-NLS-2$
escapedValue = escapedValue.replace("\r\n", "\n"); //$NON-NLS-1$ //$NON-NLS-2$
return escapedValue;
}

Expand Down

0 comments on commit 0f9f2c1

Please sign in to comment.