diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-07-25 09:45:23 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-07-25 09:45:23 -0700 |
commit | 85cc140744b01148da944a58948d9e4a87cb64c4 (patch) | |
tree | 5e455f550c39b8766629d0abcf4194613c859077 /tests | |
parent | 2e5edbb27837372f658b1abbe05371be57415847 (diff) | |
download | pandoc-85cc140744b01148da944a58948d9e4a87cb64c4.tar.gz |
Textile reader: Improved handling of `<pre>` blocks.
* Closed #927 (a bug in which `<pre>` in certain contexts was
not recognized as a code block).
* Remove internal HTML tags in code blocks, rather than printing
them verbatim.
* Parse attributes on `<pre>` tag for code blocks.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/textile-reader.native | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/textile-reader.native b/tests/textile-reader.native index 22a338d38..d14ae02c8 100644 --- a/tests/textile-reader.native +++ b/tests/textile-reader.native @@ -139,7 +139,7 @@ Pandoc (Meta {unMeta = fromList []}) ,Header 1 ("",[],[]) [Str "Raw",Space,Str "HTML"] ,Para [Str "However",Str ",",Space,RawInline "html" "<strong>",Space,Str "raw",Space,Str "HTML",Space,Str "inlines",Space,RawInline "html" "</strong>",Space,Str "are",Space,Str "accepted",Str ",",Space,Str "as",Space,Str "well",Space,Str "as",Space,Str ":"] ,RawBlock "html" "<div class=\"foobar\">" -,Para [Str "any",Space,Strong [Str "Raw",Space,Str "HTML",Space,Str "Block"],Space,Str "with",Space,Str "bold",LineBreak] +,Para [Str "any",Space,Strong [Str "Raw",Space,Str "HTML",Space,Str "Block"],Space,Str "with",Space,Str "bold"] ,RawBlock "html" "</div>" ,Para [Str "Html",Space,Str "blocks",Space,Str "can",Space,Str "be"] ,RawBlock "html" "<div>" |