Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

References in txt documents are not recognised at the beginning of para #29

Open
1 task done
smyslov opened this issue Sep 6, 2022 · 2 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@smyslov
Copy link

smyslov commented Sep 6, 2022

Describe the issue

If an I-D is submitted in txt format, then html and pdf versions are automatically generated for it. With this process references in the text (in the form "[xxxx]") are recognised and replaces with links to the referenced documents. However, if the construction "[xxxx]" is at the beginning of a paragraph, then it is not recognised as a reference and is left out.

As an example see https://datatracker.ietf.org/doc/draft-ietf-ipsecme-rfc8229bis/07/

Section 7.4 starts with a reference to RFC6311, which is not replaced with appropriate link neither in the html, nor in pdf versions.
The same situation is in Section 10 (page 22) with reference to RFC5961.

Code of Conduct

@smyslov smyslov added the bug Something isn't working label Sep 6, 2022
@larseggert
Copy link
Collaborator

This is an issue with https://github.com/ietf-tools/rfc2html, which has a lot of hacky regex code.

@rjsparks
Copy link
Member

rjsparks commented Sep 6, 2022

And to be quite specific, when you say html and pdf versions, you mean htmlized-text and pdfed-htmlized-text. (As opposed to the html and pdf output from v3 xml input).

@rjsparks rjsparks transferred this issue from ietf-tools/datatracker Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants