manual: Use Unicode instead HTML entities for characters (bug 19737)
authorFlorian Weimer <fweimer@redhat.com>
Thu, 16 Jul 2020 08:17:31 +0000 (10:17 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 16 Jul 2020 08:17:31 +0000 (10:17 +0200)
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 <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
manual/math.texi

index dcff7b7..376306c 100644 (file)
@@ -1,9 +1,9 @@
 @c We need some definitions here.
 @ifclear mult
 @ifhtml
-@set mult &middot;
-@set infty &infin;
-@set pie &pi;
+@set mult @U{00B7}
+@set infty @U{221E}
+@set pie @U{03C0}
 @end ifhtml
 @iftex
 @set mult @cdot