whitespace() format function adds p elements

  1. 5 years ago

    @Toby Could you please hook into the issue I am having here

    Do we really need the added p elements? If so, how can I work around it?

  2. Toby

    25 May 2014 Administrator

    The formatter's p elements are semantically correct because text belongs in paragraphs.

    You can't have a p within a p — that's bad HTML, and causes the p.signature to terminate before the nested p is opened. So is the solution not as simple as changing your p.signature into a div.signature?

 

or Sign Up to reply!