Project

Profile

Help

Bug #5018

closed

suppress-indentation should prevent word-wrapping of HTML and XHTML output

Added by Michael Kay over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Serialization
Sprint/Milestone:
-
Start date:
2021-06-04
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:
Platforms:

Description

Using suppress-indentation="p" should suppress the word-wrapping that Saxon applies to HTML and XHTML output when indent="yes" is specified. It appears that it doesn't.

Actions #1

Updated by Michael Kay over 3 years ago

  • Category set to Serialization
  • Status changed from New to In Progress
  • Priority changed from Low to Normal
  • Applies to branch 10, trunk added

Added XSLT3 test cases output-0725 (html) and output-0726 (xhtml) which confirms that the problem exists.

Actions #2

Updated by Michael Kay over 3 years ago

  • Status changed from In Progress to Resolved
  • Fix Committed on Branch 10, trunk added

Fixed by a simple patch to HTMLIndenter.characters() - this handles both HTML and XHTML.

Actions #3

Updated by O'Neil Delpratt about 3 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 10.6 added

Bug fix applied in the Saxon 10.6 maintenance release

Please register to edit this issue

Also available in: Atom PDF