-
Notifications
You must be signed in to change notification settings - Fork 41
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
xref with format="title" doesn't work as expected #563
Comments
@henrik@levkowetz.com changed status from |
@henrik@levkowetz.com changed resolution from `` to |
@henrik@levkowetz.com commented Fixed in 3c855d4: Changed the text output for on request from the RPC. Fixes issue #563. |
@julian.reschke@gmx.de commented (see also https://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/422) |
@arusso@amsl.com commented Seems quotes are being added when rendering TXT (and not HTML or PDF). This is not desired. (Ideally, the title is output by itself, no matter the output format. The author puts quotation marks in the XML if they want quotation marks in the output.) Example: (same input file as above. new output files created by v3.5.0) https://www.rfc-editor.org/v3test/test2.txt https://www.rfc-editor.org/v3test/test2.html (and pdf) (The fix was released in v3.4.0.) |
@mahoney@nostrum.com commented This is still an issue with xml2rfc 3.5.0, but I don't seem to have the privileges to reopen the ticket (I can only "leave as closed" or "deploy"). See Section 1 of the following for examples: |
@rjsparks@nostrum.com changed status from |
@rjsparks@nostrum.com changed resolution from |
@jennifer@painless-security.com changed status from |
@jennifer@painless-security.com changed owner from `` to |
@jennifer@painless-security.com commented Fixing this. There are two cases where quotes are inserted - |
@jennifer@painless-security.com changed status from |
@jennifer@painless-security.com changed resolution from `` to |
@jennifer@painless-security.com commented Fixed in 2be113c: Remove quotes from in text writer. Fixes #563. Commit ready for merge. |
@rjsparks@nostrum.com commented Fixed in 48ab565: Merged in 2be113c from jennifer@painless-security.com:\n Remove quotes from in text writer. Fixes #563. |
owner:jennifer@painless-security.com
resolution_fixed
type_defect
| by arusso@amsl.comxref with format="title" for a document title yields square brackets and quotes around the title in the text file. (PDF and HTML outputs are OK, but the text output is not.)
XML:
Text output:
Also: If quotes are manually typed into the source (as in the XML above) to get the desired output (title enclosed in quotes), the text rendering automatically puts quotes in -- resulting in 2 sets of quotes.
Desired output:
Files:
https://www.rfc-editor.org/v3test/test-draft-ietf-idr-rfc5575bis-27.xml
https://www.rfc-editor.org/v3test/test-draft-ietf-idr-rfc5575bis-27.txt
https://www.rfc-editor.org/v3test/test-draft-ietf-idr-rfc5575bis-27.html
https://www.rfc-editor.org/v3test/test-draft-ietf-idr-rfc5575bis-27.pdf
Side note: format="title" works fine with an internal section title. i.e., the issue seems to affect an xref to a , not a
Issue migrated from trac:563 at 2022-02-08 07:10:39 +0000
The text was updated successfully, but these errors were encountered: