From 7fdc01ac0d91a037b48847939b762654174b4125 Mon Sep 17 00:00:00 2001 From: Elliot Bobrow <77182873+ebobrow@users.noreply.github.com> Date: Wed, 6 Jul 2022 13:10:24 -0700 Subject: Use `formatCode` from #7525 in HTML and MediaWiki (#8162) Move formatting from inside inline code elements to the outside in order to retain formatting. --- test/command/7525.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test/command') diff --git a/test/command/7525.md b/test/command/7525.md index 788c749a6..0283b19a8 100644 --- a/test/command/7525.md +++ b/test/command/7525.md @@ -17,3 +17,17 @@ ] ] ``` + +``` +% pandoc -f html -t native +hi +^D +[ Plain [ Strong [ Code ( "" , [] , [] ) "hi" ] ] ] +``` + +``` +% pandoc -f mediawiki -t native +''hey'' +^D +[ Para [ Emph [ Code ( "" , [] , [] ) "hey" ] ] ] +``` -- cgit v1.2.3