aboutsummaryrefslogtreecommitdiff
path: root/test/command/4742.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/4742.md')
-rw-r--r--test/command/4742.md39
1 files changed, 36 insertions, 3 deletions
diff --git a/test/command/4742.md b/test/command/4742.md
index 7be9a6077..a91dffb33 100644
--- a/test/command/4742.md
+++ b/test/command/4742.md
@@ -5,7 +5,18 @@ extension properly.
% pandoc -f commonmark+gfm_auto_identifiers+ascii_identifiers -t native
# non ascii ⚠️ räksmörgås
^D
-[Header 1 ("non-ascii--raksmorgas",[],[]) [Str "non",Space,Str "ascii",Space,Str "\9888\65039",Space,Str "r\228ksm\246rg\229s"]]
+[ Header
+ 1
+ ( "non-ascii--raksmorgas" , [] , [] )
+ [ Str "non"
+ , Space
+ , Str "ascii"
+ , Space
+ , Str "\9888\65039"
+ , Space
+ , Str "r\228ksm\246rg\229s"
+ ]
+]
```
Note that the emoji here is actually a composite character,
@@ -16,7 +27,18 @@ so it survives...
% pandoc -f commonmark+gfm_auto_identifiers-ascii_identifiers -t native
# non ascii ⚠️ räksmörgås
^D
-[Header 1 ("non-ascii-\65039-r\228ksm\246rg\229s",[],[]) [Str "non",Space,Str "ascii",Space,Str "\9888\65039",Space,Str "r\228ksm\246rg\229s"]]
+[ Header
+ 1
+ ( "non-ascii-\65039-r\228ksm\246rg\229s" , [] , [] )
+ [ Str "non"
+ , Space
+ , Str "ascii"
+ , Space
+ , Str "\9888\65039"
+ , Space
+ , Str "r\228ksm\246rg\229s"
+ ]
+]
```
`gfm` should have `ascii_identifiers` disabled by default.
@@ -25,5 +47,16 @@ so it survives...
% pandoc -f gfm -t native
# non ascii ⚠️ räksmörgås
^D
-[Header 1 ("non-ascii-\65039-r\228ksm\246rg\229s",[],[]) [Str "non",Space,Str "ascii",Space,Str "\9888\65039",Space,Str "r\228ksm\246rg\229s"]]
+[ Header
+ 1
+ ( "non-ascii-\65039-r\228ksm\246rg\229s" , [] , [] )
+ [ Str "non"
+ , Space
+ , Str "ascii"
+ , Space
+ , Str "\9888\65039"
+ , Space
+ , Str "r\228ksm\246rg\229s"
+ ]
+]
```