thombashi / pytablewriter

pytablewriter is a Python library to write a table in various formats: AsciiDoc / CSV / Elasticsearch / HTML / JavaScript / JSON / LaTeX / LDJSON / LTSV / Markdown / MediaWiki / NumPy / Excel / Pandas / Python / reStructuredText / SQLite / TOML / TSV.
https://pytablewriter.rtfd.io/
MIT License
610 stars 43 forks source link

Support line breaks in HTML #22

Closed kesyog closed 4 years ago

kesyog commented 4 years ago

If a table element contains a new line character '\n', this should create a line break in the table output. The HTML table writer currently seems to ignore the line break. I haven't tried other output formats.

thombashi commented 4 years ago

@kesyog Thank you for your feedback. I had changed to replace line breaks to <br> for HTML writer class at pytablewriter 0.47.0