Package: ebhttpd
Version: 1:1.0.dfsg.1-4.3
Severity: minor
Tags: patch

ebhttpd currently outputs invalid HTML to represent superscripts,
the correct tag is <sup>, not <super>.

Patch:

--- a/ebhttpd/hookset.c
+++ b/ebhttpd/hookset.c
@@ -537,7 +537,7 @@ hook_begin_superscript(book, appendix, container, code, 
argc, argv)
     int argc;
     const unsigned int *argv;
 {
-    eb_write_text_string(book, "<super>");
+    eb_write_text_string(book, "<sup>");
     return EB_SUCCESS;
 }
 
@@ -554,7 +554,7 @@ hook_end_superscript(book, appendix, container, code, argc, 
argv)
     int argc;
     const unsigned int *argv;
 {
-    eb_write_text_string(book, "</super>");
+    eb_write_text_string(book, "</sup>");
     return EB_SUCCESS;
 }


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to