Project

Profile

Help

Bug #3839

Updated by Michael Kay over 6 years ago

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 <xsl:output method="html" name="htmlOutput" indent="yes" version="5.0"/>` version="5.0"/> — the opening `<mark>` <mark> tag seems to be treated as a block element, while the closing </mark> 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>`, <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.

Back