WordPress.org

Ready to get started?Download WordPress

Forums

Add "style" and "span" support to wpautop (4 posts)

  1. vdietmar
    Member
    Posted 9 years ago #

    When posting something with Flickr into my WordPress V1.5 I have learned that wpautop incedently puts a "p" tag around the "style" and "span" tags produced by Flickr. Also each line within the "style" section was filled with a "br" tag at the end.

    While the latter I could switch off with $br=0, I had to add "style" (and BTW "span" as well) to lines 60, 61, 66, 70, 71, 73 and 74 to avoid the "p" tag at the named places.

    I think adding "style" and "span" could be done in the next update by default. Addtionally, a new filter line should make sure that inside a "style" section no "br" tags are being put.

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I would imagine that you would want a plugin for this.

  3. vdietmar
    Member
    Posted 9 years ago #

    No, actually not. Also for the handling done in wpautop it does absolutly make not sense to put the "p" tag around "style" and "span" and to add "br" tags within a "style" section. So this change should be default and not optionally with a plugin.

  4. vdietmar
    Member
    Posted 9 years ago #

    [Oops, for some reason I have got back a db error in the first place and hence now have two identical replies posted -- removing this one]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.