diff options
Diffstat (limited to 'adapter/format')
-rw-r--r-- | adapter/format/ansi2html.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/adapter/format/ansi2html.nim b/adapter/format/ansi2html.nim index a7242be7..48eaf5a2 100644 --- a/adapter/format/ansi2html.nim +++ b/adapter/format/ansi2html.nim @@ -348,6 +348,7 @@ proc processData(state: var State, buf: openArray[char]) = of '>': state.puts(">") of '\'': state.puts("'") of '"': state.puts(""") + of '&': state.puts("&") of '\e': state.parser.reset() of '\b': state.parser.state = acpsBackspace of '\0': state.puts("\uFFFD") # HTML eats NUL, so replace it here |