OpenZeppelin / solidity-docgen

Documentation generator for Solidity projects
MIT License
452 stars 118 forks source link

Helper joinLines not working properly with CR + LF line ending #445

Closed 0xVolosnikov closed 1 year ago

0xVolosnikov commented 1 year ago

Using Windows OS, I sometimes have line endings in the code in the format CR + LF (\r\n). Therefore, the current implementation of the joinLines helper does not remove the carriage return character, which results in documentation rendering errors (breakin lines in tables and so on).