Page MenuHomePhabricator

Colons inside html tags in dt parsed as dd where the PHP parser ignores them
Closed, DuplicatePublic

Description

The PHP parser does not parse colons as a single-line dt's when those are wrapped in HTML tags:

; <span>foo : bar</span>
; <div>foo : bar
; <div><span>foo</span> : bar

It does however recognize the colon if each opening tag before the colon is followed by one closing tag. Tag names do not have to match:

; <div><div>foo</span></span> : bar


Version: unspecified
Severity: normal

Details

Reference
bz58766