WordPress.org

Support

Support » Requests and Feedback » Add “style” and “span” support to wpautop

Add “style” and “span” support to wpautop

  • 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mark (podz)

    @podz

    Support Maven

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

    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.

    [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]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add “style” and “span” support to wpautop’ is closed to new replies.