Docbook writer: use unicode instead of entities.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1769 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
41aff1cf55
commit
c7149d317f
2 changed files with 9 additions and 10 deletions
|
@ -244,9 +244,9 @@ inlineToDocbook opts (Quoted _ lst) =
|
|||
inlineToDocbook opts (Cite _ lst) =
|
||||
inlinesToDocbook opts lst
|
||||
inlineToDocbook _ Apostrophe = char '\''
|
||||
inlineToDocbook _ Ellipses = text "…"
|
||||
inlineToDocbook _ EmDash = text "—"
|
||||
inlineToDocbook _ EnDash = text "–"
|
||||
inlineToDocbook _ Ellipses = text "…"
|
||||
inlineToDocbook _ EmDash = text "—"
|
||||
inlineToDocbook _ EnDash = text "–"
|
||||
inlineToDocbook _ (Code str) =
|
||||
inTagsSimple "literal" $ text (escapeStringForXML str)
|
||||
inlineToDocbook opts (Math _ str) = inlinesToDocbook opts $ readTeXMath str
|
||||
|
|
|
@ -605,7 +605,7 @@ These should not be escaped: \$ \\ \> \[ \{
|
|||
Should not be a list item:
|
||||
</para>
|
||||
<para>
|
||||
M.A. 2007
|
||||
M.A. 2007
|
||||
</para>
|
||||
<para>
|
||||
B. Williams
|
||||
|
@ -1025,12 +1025,11 @@ Blah
|
|||
<para>
|
||||
Superscripts: a<superscript>bc</superscript>d
|
||||
a<superscript><emphasis>hello</emphasis></superscript>
|
||||
a<superscript>hello there</superscript>.
|
||||
a<superscript>hello there</superscript>.
|
||||
</para>
|
||||
<para>
|
||||
Subscripts: H<subscript>2</subscript>O,
|
||||
H<subscript>23</subscript>O,
|
||||
H<subscript>many of them</subscript>O.
|
||||
H<subscript>23</subscript>O, H<subscript>many of them</subscript>O.
|
||||
</para>
|
||||
<para>
|
||||
These should not be superscripts or subscripts, because of the
|
||||
|
@ -1060,13 +1059,13 @@ Blah
|
|||
<quote><ulink url="http://example.com/?foo=1&bar=2">quoted link</ulink></quote>.
|
||||
</para>
|
||||
<para>
|
||||
Some dashes: one—two — three—four — five.
|
||||
Some dashes: one—two — three—four — five.
|
||||
</para>
|
||||
<para>
|
||||
Dashes between numbers: 5–7, 255–66, 1987–1999.
|
||||
Dashes between numbers: 5–7, 255–66, 1987–1999.
|
||||
</para>
|
||||
<para>
|
||||
Ellipses…and…and….
|
||||
Ellipses…and…and….
|
||||
</para>
|
||||
</section>
|
||||
<section id="latex">
|
||||
|
|
Loading…
Add table
Reference in a new issue