Actions
Bug #3839
closedProblem with HTML5 indentation: <mark> not recognized as inline element
Start date:
2018-07-13
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.8, trunk
Fix Committed on Branch:
9.8, trunk
Fixed in Maintenance Release:
Platforms:
Description
Reported today in direct email to support(at)saxonica
I'm attaching an XSL file and HTML output which demonstrates the bug, in which — with the declaration <xsl:output method="html" name="htmlOutput" indent="yes" version="5.0"/>
— the opening <mark>
tag seems to be treated as a block element, while the closing tag is treated as inline. The opening tag therefore inappropriately introduces whitespace, with indent="yes". This doesn't occur with indent="no". This behavior doesn't occur with <span>
, which is treated as inline with either indent value.
I'm using Saxon-PE 9.8.0.12 in Oxygen XML Editor 20.1.
Please register to edit this issue
Actions