From bf2eb4f288df5d5b5e054cdc4ffa3b3c4dd187fa Mon Sep 17 00:00:00 2001 From: Florian Beeres Date: Mon, 11 Nov 2019 17:55:58 +0100 Subject: Change the implementation of `htmlSpanLikeElements` and implement `` (#5882) * Add HTML Reader support for ``, parsing this as a Span with class `dfn`. * Change `htmlSpanLikeElements` implementation to retain classes, attributes and inline content. --- test/command/5795.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/command/5795.md (limited to 'test/command/5795.md') diff --git a/test/command/5795.md b/test/command/5795.md new file mode 100644 index 000000000..0d5154b4d --- /dev/null +++ b/test/command/5795.md @@ -0,0 +1,20 @@ +``` +% pandoc -f html -t html +foo +^D +foo +``` + +``` +% pandoc -f html -t native +foo +^D +[Plain [Span ("foo",["dfn","dfn"],[("title","bax")]) [Span ("",[],[]) [Str "foo"]]]] +``` + +``` +% pandoc -f native -t html +[Plain [Span ("foo",["dfn","dfn"],[("title","bax")]) [Span ("",[],[]) [Str "foo"]]]] +^D +foo +``` -- cgit v1.2.3