Project

Profile

Help

Bug #3839

Updated by Michael Kay almost 6 years ago

Reported today in direct private email to support(at)saxonica MHK 

 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 </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>, 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