forked from jgm/lunamark
-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
bugluaRelated to the Lua interface and implementationRelated to the Lua interface and implementationsyntax extensionRelated to syntax extensions and dialects of markdownRelated to syntax extensions and dialects of markdown
Milestone
Description
Writing [translation@castb.org](mailto:translation@castb.org)
with citations
option enabled is interpreted as a citation:
$ markdown-cli citations=true <<< '[translation@castb.org](mailto:translation@castb.org)'
\markdownRendererDocumentBegin
\markdownRendererCite{1}+{translation}{}{castb.org}(mailto:translation@castb.org)\markdownRendererDocumentEnd
However, this should only happen when there is whitespace before the @
:
$ pandoc -f markdown+citations <<< '[translation@castb.org](mailto:translation@castb.org)'
<p><a href="mailto:translation@castb.org">translation@castb.org</a></p>
$ pandoc -f markdown+citations <<< '[translation @castb.org](mailto:translation@castb.org)'
<p><span class="citation" data-cites="castb.org">[translation @castb.org]</span>(mailto:translation@castb.org)</p>
Metadata
Metadata
Assignees
Labels
bugluaRelated to the Lua interface and implementationRelated to the Lua interface and implementationsyntax extensionRelated to syntax extensions and dialects of markdownRelated to syntax extensions and dialects of markdown