View Single Post
Old 03-06-2019, 07:07 AM   #115
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 883
Karma: 3501166
Join Date: Jan 2017
Location: Poland
Device: Various
Quote:
Originally Posted by quinta@ebf.cz View Post
Which of course is not valid xhtml. Am I doing something wrong?
Change one line in htmlformat.py.

Is:
Code:
fragment = regex.sub(r'<p([^>])*></p>', r'<p\1>*</p>', fragment)
Change to:
Code:
fragment = regex.sub(r'<p([^>]*)></p>', r'<p\1>*</p>', fragment)
BeckyEbook is offline   Reply With Quote