datatracker icon indicating copy to clipboard operation
datatracker copied to clipboard

XML2RFC handling of hyphens adds a space

Open AdrianFarrel opened this issue 1 year ago • 0 comments

Describe the issue

If my source XML has a hyphen and I choose to break the line at that point, the final text adds a single white space as it would between words.

E.g.

This is a test. Break a hyphenated- word across a line boundary.

Generates...

This is a test. Break a hyphenated- word across a line boundary.

I noticed this with draft-ietf-teas-rfc3272bis-21 in the datatracker repositoriy.

I believe that the old xml2rfc had a fix for this. Obviously, you do want a space added in normal cases, but not when the last character on a line is a hyphen.

Code of Conduct

AdrianFarrel avatar Oct 27 '22 12:10 AdrianFarrel