Project

Profile

Help

Bug #3839

closed

Problem with HTML5 indentation: <mark> not recognized as inline element

Added by Michael Kay over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Serialization
Sprint/Milestone:
-
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

Also available in: Atom PDF