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

PIs indicating line numbers #205

Open
CxRes opened this issue Sep 23, 2023 · 1 comment
Open

PIs indicating line numbers #205

CxRes opened this issue Sep 23, 2023 · 1 comment

Comments

@CxRes
Copy link

CxRes commented Sep 23, 2023

I am not sure if this is a bug or being done intentionally. I am finding tags like <?line 35?> are being introduced in place of section separators, referring to the section separator line in the markdown. You can see these in the samples for #203.

I don't think they affect the html/txt output, but should they exist in the xml?

@cabo cabo changed the title PHP style line tags being introduced in place of section separators? PIs indicating line numbers Sep 23, 2023
@cabo
Copy link
Owner

cabo commented Sep 23, 2023

Yes, this is a feature.

There is no PHP involved, these are XML processing instructions (PIs).
PIs are ignored by RFCXML.
The objective is to at some point be able to translate back from an xml2rfc error message about the XML to a location in the markdown source.

This feature is not complete, but already can be useful when manually mapping back.

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

No branches or pull requests

2 participants