diff --git a/src/Text/Pandoc/Writers/TEI.hs b/src/Text/Pandoc/Writers/TEI.hs index aff9268c2..391bd22c5 100644 --- a/src/Text/Pandoc/Writers/TEI.hs +++ b/src/Text/Pandoc/Writers/TEI.hs @@ -179,7 +179,7 @@ blockToTEI _ b@(RawBlock f str) blockToTEI _ HorizontalRule = return $ selfClosingTag "milestone" [("unit","undefined") ,("type","separator") - ,("rendition","line")] + ,("rend","line")] blockToTEI opts (Figure attr capt bs) = blockToTEI opts (figureDiv attr capt bs) diff --git a/test/writer.tei b/test/writer.tei index 9aeac71fc..45e14a245 100644 --- a/test/writer.tei +++ b/test/writer.tei @@ -19,7 +19,7 @@
This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.
-with no blank line
-Here’s one with a bullet. * criminey.
There should be a hard line break
here.
This should not be a block quote: 2 > 1.
And a following paragraph.
-Should not be a list item:
M.A. 2007
B. Williams
-Hr’s:
-These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.
-Some dashes: one—two — three—four — five.
Dashes between numbers: 5–7, 255–66, 1987–1999.
Ellipses…and…and….
-Here’s a LaTeX table:
-Bang: !
Plus: +
Minus: -
-