aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-01-09 05:40:40 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-01-09 05:40:40 +0000
commit19123a540e5d4d172c3f2e40b088b69118aeb319 (patch)
treeb7121a3013071f48a36acb469ed46a92415ed84f /src/Text/Pandoc/Writers
parentacb4dab5eb5ee43fc07d98029ce570e48b168878 (diff)
downloadpandoc-19123a540e5d4d172c3f2e40b088b69118aeb319.tar.gz
Don't use named entities in docbook writer. Instead, use
numerical entities, for portability across stylesheets. git-svn-id: https://pandoc.googlecode.com/svn/trunk@473 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/Docbook.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Text/Pandoc/Writers/Docbook.hs b/src/Text/Pandoc/Writers/Docbook.hs
index 29fdf965f..e67b91fcd 100644
--- a/src/Text/Pandoc/Writers/Docbook.hs
+++ b/src/Text/Pandoc/Writers/Docbook.hs
@@ -175,10 +175,10 @@ inlineToDocbook opts (Strong lst) =
(inlinesToDocbook opts lst)
inlineToDocbook opts (Quoted _ lst) =
inTagsSimple "quote" (inlinesToDocbook opts lst)
-inlineToDocbook opts Apostrophe = text "&apos;"
-inlineToDocbook opts Ellipses = text "&hellip;"
-inlineToDocbook opts EmDash = text "&mdash;"
-inlineToDocbook opts EnDash = text "&ndash;"
+inlineToDocbook opts Apostrophe = text "'"
+inlineToDocbook opts Ellipses = text "&#8230;"
+inlineToDocbook opts EmDash = text "&#8212;"
+inlineToDocbook opts EnDash = text "&#8211;"
inlineToDocbook opts (Code str) =
inTagsSimple "literal" $ text (escapeSGML str)
inlineToDocbook opts (TeX str) = inlineToDocbook opts (Code str)