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

reftext breaks up on <em in HTML #1034

Closed
1 task done
cabo opened this issue Sep 21, 2023 · 0 comments · Fixed by #1036
Closed
1 task done

reftext breaks up on <em in HTML #1034

cabo opened this issue Sep 21, 2023 · 0 comments · Fixed by #1036
Labels
bug Something isn't working html Issues in HTML output pdf Issues in PDF output

Comments

@cabo
Copy link
Contributor

cabo commented Sep 21, 2023

Describe the issue

The attached example produces in TXT:

1.  Introduction

   See Section 2 (The _Style_ of Data Structure Specification) of CDDL
   [RFC8610].

   See The _Style_ of Data Structure Specification (Section 1)

as it should. HTML, however, yields:

1. Introduction
See Section 2 (The ) of CDDL [RFC8610].

See The Style of Data Structure Specification (Section 1)

(emphasis lost in copy/paste.)
The second para shows that <em in reftext works in principle.
The first para works in TXT, but loses everything but the first text node for HTML.

(3.18.0)

reftext-issue.md
reftext-issue.xml.txt
reftext-issue.v2v3.xml.txt

Code of Conduct

@cabo cabo added the bug Something isn't working label Sep 21, 2023
@kesara kesara added html Issues in HTML output pdf Issues in PDF output labels Sep 26, 2023
kesara added a commit to kesara/xml2rfc that referenced this issue Sep 27, 2023
This change fixes a bug where child elements were not rendered in `xref`
element with `section` attribute.

This change only affects HTML & PDF outputs.

Fixes ietf-tools#1034
kesara added a commit to kesara/xml2rfc that referenced this issue Sep 27, 2023
This change fixes a bug where child elements were not rendered in `xref`
element with `section` attribute.

This change only affects HTML & PDF outputs.

Fixes ietf-tools#1034
kesara added a commit to kesara/xml2rfc that referenced this issue Sep 27, 2023
This change fixes a bug where child elements were not rendered in `xref`
element with `section` attribute.

This change only affects HTML & PDF outputs.

Fixes ietf-tools#1034
kesara added a commit to kesara/xml2rfc that referenced this issue Sep 27, 2023
This change fixes a bug where child elements were not rendered in `xref`
element with `section` attribute.

This change only affects HTML & PDF outputs.

Fixes ietf-tools#1034
kesara added a commit that referenced this issue Sep 27, 2023
This change fixes a bug where child elements were not rendered in `xref`
element with a `section` attribute.

This change only affects HTML & PDF outputs.

Fixes #1034
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working html Issues in HTML output pdf Issues in PDF output
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants