Page MenuHomePhabricator

Make <style> an inline element
Closed, DuplicatePublic

Description

When by TemplateStyles a <style> is appearing within continuous text, that might be broken into paragraphs under certain conditions.

See T184228 and T184900 for similar exercises.

The lists of inline elements defined in includes/tidy/Balancer.php as $tidyInlineSet and/or perhaps includes/tidy/RemexCompatMunger.php as $onlyInlineElements should be extended.

Event Timeline

I was not aware of that lengthy task, but yes, they are describing the same problem, and yes, gerrit:486825 is the solution I proposed based upon my earlier <bdo>/<bdi> experience. Should be resolved, then.