diff options
Diffstat (limited to 'gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettyFormatter.java')
-rw-r--r-- | gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettyFormatter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettyFormatter.java b/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettyFormatter.java index 56bd723d93..511b056c86 100644 --- a/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettyFormatter.java +++ b/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettyFormatter.java @@ -145,9 +145,9 @@ public abstract class PrettyFormatter implements SparseHtmlFile { // Drop any '\r' to avoid this problem. html = html.replace("\r</span>\n", "</span>\n"); - html = html.replace("\n", "<lf>\n"); + html = html.replace("\n", " \n"); html = prettify(html, getFileType()); - html = html.replace("<lf>\n", "\n"); + html = html.replace(" \n", "\n"); } else { html = expandTabs(html); } |