Curious replacement of CRLF by tag
-
Hi,
I have submitted an html document (adapted from html msoffice) as a new article.
I get after running the display a document which contains in several cases the tag <br /> replacing the CRLF (hexa x0D0A) which should be simply ignored (participating to a clear display of the HTML).
This introduces lines break which make the article not readable normally.
Note that the display of the html source into any navigator has no problem at all.I could not determine with precision the circumstances but I have that it is always after :
- tag
- tag </span>
- tag <span ….> (with style or others parameters)
When there are imbricated tags (i.e. span into a span tag, span into a “a” tag, span into a header, a tag into header etc…
I first have chacked my own plugins (not published, waiting for being able to build a team). By checking the ob of the filter on the_content, I could verify that it was clean.
Then I think that there is probably a plugin which adds a filter which fails (replacement, shortcode holding, analysis failure of the html syntax.For my plugin I have added two code sequences which check the ob input and ob output and reports the tags (<br /> with a preceding chain of chars for identification of the sequence).
It seems difficult to write the same for all my plugin which activates filters.
More, this is my first question, I don’t know how to list the filters on the_content in the order of execution.
Can you help me
Best regards
Trebly
- The topic ‘Curious replacement of CRLF by tag’ is closed to new replies.