:date: 2019-09-05 =========================== Thursday, September 5, 2019 =========================== I continued research for :ticket:`3188` (see also :doc:`0904` and :doc:`0903`). It is actually not about curly quotes or not. tidy has always warned about them. But pytidylib takes the warnings for errors when the newer Tidy version is used. I wrote a script to show the difference:: from tidylib import tidy_fragment # html = '
Herrn Albert ADAM
" options = {} # options.update(doctype='omit') # options['show-warnings'] = 0 # options['show-errors'] = 0 # options.update(indent=0) # options.update(errors=1) # options.update(bare=1) # options.update(output_xhtml=1) # options['output-xhtml'] = 1 document, errors = tidy_fragment(html, options=options) print("OK") print(errors) Output with Tidy 5.2 was:: OK Output with Tidy 5.6 is:: OK line 1 column 1 - Info: value for attribute "class" missing quote marks But tidy itself has always written warnings to stderr. The following command produces the same results in both 5.2 and 5.6:: $ echo '