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
When you use something like youtube followed by simple_format you get the YouTube <div> nested inside a <p> element. Which is invalid, and at least on Chrome, when you look at the Dev Tools, the <div> is rendered as if outside the <p> tag.
When you use something like
youtube
followed bysimple_format
you get the YouTube<div>
nested inside a<p>
element. Which is invalid, and at least on Chrome, when you look at the Dev Tools, the<div>
is rendered as if outside the<p>
tag.I was thinking 2 alternatives.
wrapper_tag
parameter onsimple_format
<div>
tags, then applysimple_format
to each piece separatedly, and the join the<div>
tags again.The text was updated successfully, but these errors were encountered: