[Bug admin/19737] New: Doc page “20.5.2 Infinity and NaN” has incorrect HTML character entities for infinity & pi

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug admin/19737] New: Doc page “20.5.2 Infinity and NaN” has incorrect HTML character entities for infinity & pi

glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=19737

            Bug ID: 19737
           Summary: Doc page “20.5.2 Infinity and NaN” has incorrect HTML
                    character entities for infinity & pi
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: admin
          Assignee: unassigned at sourceware dot org
          Reporter: sourceware.org at slippyd dot com
                CC: carlos at redhat dot com, roland at gnu dot org
  Target Milestone: ---

The HTML documentation page “20.5.2 Infinity and NaN”
(http://www.gnu.org/software/libc/manual/html_node/Infinity-and-NaN.html) has
incorrectly double-escaped HTML character entities for infinity & pi symbols.

The infinity entity code being used is “∞” when it should be just
“∞”, and the pi entity code being used is “@amp;pi;” when it should be
just “π”.  The result is that currently the rendered HTML shows “@infin;”
and “π” instead of “∞” and “π”.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug admin/19737] Doc page “20.5.2 Infinity and NaN” has incorrect HTML character entities for infinity & pi

Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=19737

Jonathan Wakely <jwakely.gcc at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jwakely.gcc at gmail dot com

--- Comment #1 from Jonathan Wakely <jwakely.gcc at gmail dot com> ---
The https://www.gnu.org/software/libc/manual/html_node/Parsing-of-Floats.html
page also has the &infin; entity in the description of strtod.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug admin/19737] Doc page “20.5.2 Infinity and NaN” has incorrect HTML character entities for infinity & pi

Sourceware - glibc-bugs mailing list
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=19737

--- Comment #2 from Jonathan Wakely <jwakely.gcc at gmail dot com> ---
And also
https://www.gnu.org/software/libc/manual/html_node/Math-Error-Reporting.html

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug admin/19737] Doc page “20.5.2 Infinity and NaN” has incorrect HTML character entities for infinity & pi

Sourceware - glibc-bugs mailing list
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=19737

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com
                 CC|                            |fweimer at redhat dot com

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
Looks like a Texinfo regression/behavioral change. I'll see if I can fix this
on the glibc side.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug admin/19737] Doc page “20.5.2 Infinity and NaN” has incorrect HTML character entities for infinity & pi

Sourceware - glibc-bugs mailing list
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=19737

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
Patch posted: https://sourceware.org/pipermail/libc-alpha/2020-July/116357.html

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug admin/19737] Doc page “20.5.2 Infinity and NaN” has incorrect HTML character entities for infinity & pi

Sourceware - glibc-bugs mailing list
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=19737

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
   Target Milestone|---                         |2.32

--- Comment #5 from Florian Weimer <fweimer at redhat dot com> ---
Fixed in glibc 2.32:

commit da7d62b50396c8b6d67c1ba800a196e83e2ec469
Author: Florian Weimer <[hidden email]>
Date:   Thu Jul 16 10:17:31 2020 +0200

    manual: Use Unicode instead HTML entities for characters (bug 19737)

    Texinfo no longer treats arguments to @set in @ifhtml blocks as
    literal HTML, so the & in the entity references was encoded as
    @amp; in HTML.  Using the equivalent Unicode characters avoids
    this issue.

    Reviewed-by: Carlos O'Donell <[hidden email]>
    Tested-by: Carlos O'Donell <[hidden email]>

--
You are receiving this mail because:
You are on the CC list for the bug.