8000 Extraneous space in eref within annotation in text output for longer URLs · Issue #1230 · ietf-tools/xml2rfc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Extraneous space in eref within annotation in text output for longer URLs #1230

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

Open
1 task done
kesara opened this issue Mar 6, 2025 · 0 comments
Open
1 task done
Labels
bug Something isn't working text Issues in text output and text writer

Comments

@kesara
Copy link
Member
kesara commented Mar 6, 2025

Describe the issue

This seems like the same issue as #1101 but for longer URLs.
This issue in only affecting text format.

Sample XML:

      <reference anchor="C" target="https://www.iso.org/standard/82075.html">
        <front>
          <title>Information technology - Programming languages - C</title>
          <author>
            <organization>International Organization for Standardization</organization>
          </author>
          <date year="2024" month="October"/>
        </front>
        <seriesInfo name="ISO/IEC" value="9899:2024"/>
        <annotation>Technically equivalent specification text is available at <eref target="https://web.archive.org/web/20250212071536/https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf" brackets="angle"/>.</annotation>
        <refcontent>Fourth Edition</refcontent>
      </reference>

This generates:

   [C]        International Organization for Standardization,
              "Information technology - Programming languages - C",
              Fourth Edition, ISO/IEC 9899:2024, October 2024,
              <https://www.iso.org/standard/82075.html>.  Technically
              equivalent specification text is available at
              <https://web.archive.org/web/20250212071536/
              https://www.open- std.org/jtc1/sc22/wg14/www/docs/
              n3220.pdf>.

Test files: xml, text, html, pdf

Code of Conduct

@kesara kesara added bug Something isn't working text Issues in text output and text writer labels Mar 6, 2025
@kesara kesara changed the title Extraneous space in eref within annotation in text output for long URL Extraneous space in eref within annotation in text output for longer URLs Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working text Issues in text output and text writer
Projects
None yet
Development

No branches or pull requests

1 participant
0