ietf-tools / xml2rfc

Generate RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies
https://ietf-tools.github.io/xml2rfc/
BSD 3-Clause "New" or "Revised" License
65 stars 38 forks source link

Selectively suppressing double-spacing #1000

Open martinthomson opened 1 year ago

martinthomson commented 1 year ago

Describe the issue

In a recent document, we have the following as part of a sentence.

the IAB document "What Makes for a Successful Protocol?" [RFC5218]

The presence of the "?" causes xml2rfc to render an extra space, which is unwanted in this case.

The fix used by the RPC was to change the space to  , which works, but adds garbage to the HTML output. It would be good to have some means of fixing this that didn't involve haxx.

Code of Conduct