You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across a weird behavior while using the library - if background color (e.g. 42 - green) is specified before foreground (e.g. 30 - black) the render will contain black text on black background. Weirdly enough this happens only for separated sequences (e.g. ^[[0m^[[42m^[[30m) and not while parsing their short forms (e.g. ^[[42;30m).
I used following example to demonstrate the problem (also attached): Download raw
I came across a weird behavior while using the library - if background color (e.g. 42 - green) is specified before foreground (e.g. 30 - black) the render will contain black text on black background. Weirdly enough this happens only for separated sequences (e.g.
^[[0m^[[42m^[[30m
) and not while parsing their short forms (e.g.^[[42;30m
).I used following example to demonstrate the problem (also attached):
Download raw
Rendering in GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)
HTML from ansi-to-html v1.1.3
The text was updated successfully, but these errors were encountered: