Skip to content

Conversation

@rvdb
Copy link
Contributor

@rvdb rvdb commented Jan 9, 2026

This PR inserts a zero-width space inside attribute values of elements inside <egXML>, before ampersands (&) that are not followed by whitespace.

Motivation: the FOP processor doesn't seem to consider & as a line-breaking character, which can cause long URLs in attribute values inside code examples to overflow the page margin. Ampersands that aren't followed by whitespace most likely occur inside URLs, so adding a zero-with space in this limited context should improve wrapping of long URLs.

See this previously merged PR: #785.

@martindholmes martindholmes merged commit 057b69e into TEIC:dev Jan 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants