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
what is the expected result, and the current output? I think in the context of html one or more spaces, or a tab character is rendered as a single space. ie if the tab character is passed through, it wouldn't be visible in the rendering.
there is a pull request here to optionally translate whitespace to html elements #70. the newline option currently does that for newlines, though not other whitespace characters. https://github.com/rburns/ansi-to-html#options
the two tests here indicate that the intended default behaviour is to render whtespace as whitespace, though we are missing tests for the tab character.
I want to output bash output on web page, but this lib only convert ANSI color code and no supporting for '\t' and others.
![image](https://user-images.githubusercontent.com/5371877/87291441-e6888f00-c531-11ea-8abc-3e32cb288702.png)
The text was updated successfully, but these errors were encountered: