pandoc/test/command/3840.md
John MacFarlane 2c0e989f9d Markdown reader: fixed spurious parsing as citation as reference def.
We now disallow reference keys starting with `@` if the
`citations` extension is enabled.  Closes #3840.
2017-08-07 21:00:57 -07:00

15 lines
353 B
Markdown

```
% pandoc
[@Alhazen1572-qk, V.9]: "competentius est"
^D
<p><span class="citation" data-cites="Alhazen1572-qk">[@Alhazen1572-qk, V.9]</span>: “competentius est”</p>
```
```
% pandoc -f markdown-citations
[@Alhazen1572-qk, V.9]: "competentius est"
[@Alhazen1572-qk, V.9]
^D
<p><a href="" title="competentius est">@Alhazen1572-qk, V.9</a></p>
```