You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The template tries to put the (sanitized) post content into a <p class="wall-text"> tag. If the post itself uses <p> elements, the resulting template looks like <p class="wall-text"><p>...</p></p>. Problem is, <p> tags cannot contain other <p> tags as direct children, so browsers will unwrap the tags and the resulting DOM will actually be <p class="wall-text"></p><p>...</p>, breaking formatting and also confusing the updateTimesOnPage function.
The text was updated successfully, but these errors were encountered:
The template tries to put the (sanitized) post content into a
<p class="wall-text">
tag. If the post itself uses<p>
elements, the resulting template looks like<p class="wall-text"><p>...</p></p>
. Problem is,<p>
tags cannot contain other<p>
tags as direct children, so browsers will unwrap the tags and the resulting DOM will actually be<p class="wall-text"></p><p>...</p>
, breaking formatting and also confusing theupdateTimesOnPage
function.The text was updated successfully, but these errors were encountered: