meaningful EOLs considered harmful
-
Hi,
I am trying to build a small system of XSLT stylesheets and simple Python script to create a solution for publishing blogs originally authored in Docbook 5.0 via Atompub. The current code is at https://mcepl.fedorapeople.org/tmp/atom-wordpress/
Everything works well, except for the fact that apparently wordpress tries to format XHTML document by the EOLs it finds in the Atom feed. So for example result of the command (publishing entry available on the fedorapeople)
curl -v -X POST -u login:pass –data-binary @test.atom -c \
cookies.txt -H ‘Content-Type: application/atom+xml’ \
https://matejcepltest.wordpress.com/wp-app.php/postsis on https://matejcepltest.wordpress.com/
Aren’t EOLs supposed to be meaningless in XHTML? Why then wordpress inserts
elements whenever I have EOL in XHTML text.
- The topic ‘meaningful EOLs considered harmful’ is closed to new replies.