diff options
Diffstat (limited to 'test/command/8867.md')
| -rw-r--r-- | test/command/8867.md | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/test/command/8867.md b/test/command/8867.md new file mode 100644 index 000000000..f5a5a901f --- /dev/null +++ b/test/command/8867.md @@ -0,0 +1,49 @@ +``` +% pandoc -f jats -t native -s +<article-meta> + <title-group> + <article-title></article-title> + </title-group> + <permissions> + <copyright-statement>© 2023, Ellerman et al</copyright-statement> + <copyright-year>2023</copyright-year> + <copyright-holder>Ellerman et al</copyright-holder> + <license license-type="open-access"> + <ali:license_ref xmlns:ali="http://www.niso.org/schemas/ali/1.0/">https://creativecommons.org/licenses/by/4.0/</ali:license_ref> + <license-p>This document is distributed under a Creative Commons Attribution 4.0 International license.</license-p> + </license> + </permissions> +</article-meta> +^D +Pandoc + Meta + { unMeta = + fromList + [ ( "copyright" + , MetaMap + (fromList + [ ( "holder" , MetaString "Ellerman et al" ) + , ( "statement" + , MetaString "\169 2023, Ellerman et al" + ) + , ( "year" , MetaString "2023" ) + ]) + ) + , ( "license" + , MetaMap + (fromList + [ ( "link" + , MetaString + "https://creativecommons.org/licenses/by/4.0/" + ) + , ( "text" + , MetaString + "This document is distributed under a Creative Commons Attribution 4.0 International license." + ) + , ( "type" , MetaString "open-access" ) + ]) + ) + ] + } + [] +```
\ No newline at end of file |
