Skip to content

Commit

Permalink
Fixed #141 Replace [ with ['['/] in template creation wizard initial …
Browse files Browse the repository at this point in the history
…contents.
  • Loading branch information
ylussaud committed Mar 6, 2024
1 parent e0cb972 commit cb1d077
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ private String getTextStatementValue(final String initialContent) {
res = res.replaceAll("(\\r\\n|\\n)", NEW_LINE + " ");
res = res.replace(emptyLineReplacement, NEW_LINE + NEW_LINE + " ");

res = res.replace("[", "['['/]");

return res + NEW_LINE + " ";
}

Expand Down

0 comments on commit cb1d077

Please sign in to comment.