Annotum/Annotum — Issue #23: Posts - breaks and p tag stripping (not articles)
Author: carlthewebmaster
Created: 2011-12-09 03:33:51+00:00
State: open
Labels: verified

A user reported:

> Hello Carl

> Thanks for your support…

> The example provided by your link is relevant: it shows lines running together, if a

tag is not explicitly entered. This describes what happens on posts on my annotum-themed site.

> This is not what normally happens on non-annotum sites, which do not typically require manual insertion of `

` tags explicitly.

> Inserting the `

` tags manually does work…only temporarily, however because WordPress seems to be set up now to strip out `

` tags automatically, so when the post is updated, the tags disappear. This is a function of WP, not Annotum, but the annotum theme seems to affect posts in this manner, in a way that non-annotum themes do not.

> See, for example, these two posts on my site:
http://jbclements.wordpress.com/2009/12/29/perceiving-laminin-by-faith/ — note how the comments do not suffer the same way! NOTE: within the editor, the paragraphs are visible and maintained. But they do not carry over when 'viewed' (rather than 'edit')
https://jbclements.wordpress.com/2010/09/14/vocational-responsibility/ — in which I have manually inserted

tags. (If I update this, the tags are stripped out, by WP and the post reverts to the behaviour visible in the first post)

And Ryan from Automattic replied, in response to my question about it:

> TinyMCE is stripping out the `

` tags when switching between the HTML and the Visual editors, but I'm not clear yet on if this was an intended change.

> The Annotum themes, though, don't seem to respect the "automatic" paragraph breaks that every other theme I tested on WordPress.com does. The themes should probably be updated to respect this, at least for Posts, or there will be a lot more support requests about this.