summaryrefslogtreecommitdiff
path: root/bk_html.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2017-05-12 19:30:53 +0100
committerSimon Tatham <anakin@pobox.com>2017-05-12 19:30:53 +0100
commite446ba3cf1f72dca390e9c9a5fe987f3dcccd440 (patch)
tree43a15fb99fd2b2fc14b706797ce6944f7c47dcf0 /bk_html.c
parent84ed4f99448094cb6f964cd5dd8444553219b445 (diff)
downloadhalibut-e446ba3cf1f72dca390e9c9a5fe987f3dcccd440.zip
halibut-e446ba3cf1f72dca390e9c9a5fe987f3dcccd440.tar.gz
halibut-e446ba3cf1f72dca390e9c9a5fe987f3dcccd440.tar.bz2
halibut-e446ba3cf1f72dca390e9c9a5fe987f3dcccd440.tar.xz
Remove a spurious %s from the XHTML header.
I introduced this in commit b3db1cce3, which I hadn't really meant to push at all yet (it's groundwork for a new feature that's still in development), but which I had absentmindedly left lying around in my usual checkout directory when the time came to do 84ed4f994, and which got pushed as a side effect without having been quite fully tested yet. Ahem.
Diffstat (limited to 'bk_html.c')
-rw-r--r--bk_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bk_html.c b/bk_html.c
index 615c1e1..7b22b74 100644
--- a/bk_html.c
+++ b/bk_html.c
@@ -971,7 +971,7 @@ void html_backend(paragraph *sourceform, keywordlist *keywords,
case XHTML_1_0_STRICT:
ho_string(&ho, "<?xml version=\"1.0\" encoding=\"");
ho_string(&ho, charset_to_mimeenc(conf.output_charset));
- ho_string(&ho, "%s\"?>\n"
+ ho_string(&ho, "\"?>\n"
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML"
" 1.0 Strict//EN\"\n\"http://www.w3.org/TR/xhtml1/"
"DTD/xhtml1-strict.dtd\">\n");