0bdcf415e4
Update tests. Reason: it turns out that the native output generated by pretty-simple isn't always readable by the native reader. According to https://github.com/cdepillabout/pretty-simple/issues/99 it is not a design goal of the library that the rendered values be readable using 'read'. This makes it unsuitable for our purposes. pretty-show is a bit slower and it uses 4-space indents (non-configurable), but it doesn't have this serious drawback.
72 lines
1.3 KiB
Markdown
72 lines
1.3 KiB
Markdown
```
|
|
% pandoc -f mediawiki -t native
|
|
Maecenas at sapien tempor, pretium turpis ut, imperdiet augue.<ref>This is a multiline
|
|
|
|
reference
|
|
<i>with</i>
|
|
empty
|
|
|
|
linebreaks</ref> Nulla ut massa eget ex venenatis lobortis id in eros.
|
|
^D
|
|
[ Para
|
|
[ Str "Maecenas"
|
|
, Space
|
|
, Str "at"
|
|
, Space
|
|
, Str "sapien"
|
|
, Space
|
|
, Str "tempor,"
|
|
, Space
|
|
, Str "pretium"
|
|
, Space
|
|
, Str "turpis"
|
|
, Space
|
|
, Str "ut,"
|
|
, Space
|
|
, Str "imperdiet"
|
|
, Space
|
|
, Str "augue."
|
|
, Note
|
|
[ Para
|
|
[ Str "This"
|
|
, Space
|
|
, Str "is"
|
|
, Space
|
|
, Str "a"
|
|
, Space
|
|
, Str "multiline"
|
|
]
|
|
, Para
|
|
[ Str "reference"
|
|
, SoftBreak
|
|
, RawInline (Format "html") "<i>"
|
|
, Str "with"
|
|
, RawInline (Format "html") "</i>"
|
|
, SoftBreak
|
|
, Str "empty"
|
|
]
|
|
, Para [ Str "linebreaks" ]
|
|
]
|
|
, Space
|
|
, Str "Nulla"
|
|
, Space
|
|
, Str "ut"
|
|
, Space
|
|
, Str "massa"
|
|
, Space
|
|
, Str "eget"
|
|
, Space
|
|
, Str "ex"
|
|
, Space
|
|
, Str "venenatis"
|
|
, Space
|
|
, Str "lobortis"
|
|
, Space
|
|
, Str "id"
|
|
, Space
|
|
, Str "in"
|
|
, Space
|
|
, Str "eros."
|
|
]
|
|
]
|
|
```
|