opendocument-app / OpenDocument.core

C++ library that translates office documents to HTML
GNU General Public License v3.0
24 stars 9 forks source link

html formatter for reference output #259

Open andiwand opened 3 years ago

andiwand commented 3 years ago

it would be handy to have a html formatter for the reference output since that would make the diff readable and more reasonable for git.

we used html tidy for a while but it is quite intrusive and "fixes" problems in the html that break our output. (e.g. p inside span)

maybe there is an alternative to html tidy or it can be configured to leave out such fixes

one possible alternative would be to format the html output directly within odr.core

references