bengarrett / RetroTxt

RetroTxt is the WebExtension that turns ANSI, ASCII, NFO text into web documents.
https://retrotxt.com
GNU Lesser General Public License v3.0
155 stars 13 forks source link

[BUG] Multiple line SAUCE comments #106

Closed bengarrett closed 3 years ago

bengarrett commented 4 years ago

Describe the bug SAUCE comments are ignored in 'terminal colloquy' by 'alpha king' of sauna.

To Reproduce Download: https://16colo.rs/pack/thesauna01/ak67-terminal-colloquy.ans Load: file:///home/ben/Downloads/ak67-terminal-colloquy.ans

RetroTxt (access Options and click the about tab)

Screenshot_2020-10-29  ··  ak67-terminal-colloquy ans

bart-d commented 4 years ago

there are some issues with the SAUCE comments in this very specific file: the commentlines contain newlines and the number of comments is not correctly set (a float in stead of an integer, not properly rounded either). cfr the discussion at https://github.com/16colo-rs/16c/issues/67

Just to point out that it's not necessarily a bug in RetroTxt

bengarrett commented 4 years ago

Okay, thanks!

bengarrett commented 3 years ago

Fixed, used CSS white-space: pre-wrap; to handle unexpected newline characters in the comments.