HomePhabricator

Useless p-wrapper stripping shouldn't get tripped by tpl meta tags

Description

Useless p-wrapper stripping shouldn't get tripped by tpl meta tags

  • The void tag check was too broad and was trapping tpl-meta-end tags causing p-wrappers to be left behind around </span> tags which caused them to get stripped and extended the open <span> tag's range beyond its original place.
  • Added a parser test to capture this expectation

Bug: T177612
Change-Id: I58dd86da1329744f069722204fcefd8e1c8f10df

Details

Provenance
ssastryAuthored on Oct 6 2017, 3:26 PM
Parents
rGPAR1f2d99c0dccf: Linter: Suppress html5-misnesting false positives due to Tidy weirdness
Branches
Unknown
Tags
Unknown
ChangeId
I58dd86da1329744f069722204fcefd8e1c8f10df