Closed greatislander closed 6 years ago
Idea:
http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/tidy.htm
If the incoming content is valid HTML then it could be pre-processed with tidy = -1
This would remove as many whitespace characters and linebreaks as possible, thereby reducing the amount of WordPress touching it?
Description
Importing this book: https://cnx.org/contents/HLT_qvJK@6.2:wsOQ6HtH@8/Preface-to-Pfeiffer-Applied-Pr
There's some weird behaviour in terms of line breaks being added within paragraphs.
Expected behaviour
Markup should be relatively consistent.
Actual behaviour
Line breaks are added.
Steps to reproduce the problem
Before:
(Note that there appear to be some line breaks within the paragraph content, but they aren't rendered because they aren't actually
<br />
tags.)After:
I expect this is some ghastly
wpautop()
behaviour.System Information