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.

- +
Headers
@@ -48,7 +48,7 @@ Gruber’s markdown test suite.

Level 2

with no blank line

- +
@@ -59,7 +59,7 @@ Gruber’s markdown test suite.

item.

Here’s one with a bullet. * criminey.

There should be a hard line breakhere.

- +
Block Quotes @@ -93,7 +93,7 @@ sub status {

This should not be a block quote: 2 > 1.

And a following paragraph.

- +
Code Blocks @@ -113,7 +113,7 @@ this code block is indented by one tab These should not be escaped: \$ \\ \> \[ \{ - +
Lists @@ -405,7 +405,7 @@ These should not be escaped: \$ \\ \> \[ \{

Should not be a list item:

M.A. 2007

B. Williams

- +
@@ -590,7 +590,7 @@ These should not be escaped: \$ \\ \> \[ \{ <hr />

Hr’s:

- +
Inline Markup @@ -623,7 +623,7 @@ These should not be escaped: \$ \\ \> \[ \{ Hmany of themO.

These should not be superscripts or subscripts, because of the unescaped spaces: a^b c^d, a~b c~d.

- +
Smart quotes, ellipses, dashes @@ -640,7 +640,7 @@ These should not be escaped: \$ \\ \> \[ \{

Some dashes: one—two — three—four — five.

Dashes between numbers: 5–7, 255–66, 1987–1999.

Ellipses…and…and….

- +
LaTeX @@ -692,7 +692,7 @@ These should not be escaped: \$ \\ \> \[ \{

Here’s a LaTeX table:

- +
Special Characters @@ -735,7 +735,7 @@ These should not be escaped: \$ \\ \> \[ \{

Bang: !

Plus: +

Minus: -

- +
Links @@ -801,7 +801,7 @@ These should not be escaped: \$ \\ \> \[ \{ or here: <http://example.com/> - +
@@ -817,7 +817,7 @@ or here: <http://example.com/> movie icon.

- +
Footnotes