aboutsummaryrefslogtreecommitdiff
path: root/tests/markdown-citations.mhra.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-12-05 19:27:00 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-12-05 19:27:00 -0800
commit5a4609584c84114e8d148f558bed86353c7f0146 (patch)
treec52e39311a6af3dbd8fe0c921ab08ca8ba176460 /tests/markdown-citations.mhra.txt
parent37dc5d8c5d657d26a358aa4d5f6c14b25ae6cc4b (diff)
downloadpandoc-5a4609584c84114e8d148f558bed86353c7f0146.tar.gz
Fix regression: markdown references should be case-insensitive.
This broke when we added the Key type. We had assumed that the custom case-insensitive Ord instance would ensure case-insensitive matching, but that is not how Data.Map works. * Added a test case for case-insensitivity in markdown-reader-more * Removed old refsMatch from Text.Pandoc.Parsing module; * hid the 'Key' constructor; * dropped the custom Ord and Eq instances, deriving instead; * added fromKey and toKey to convert between Keys and Inline lists; * toKey ensures that keys are case-insensitive, since this is the only way the API provides to construct a Key. Resolves Issue #272.
Diffstat (limited to 'tests/markdown-citations.mhra.txt')
0 files changed, 0 insertions, 0 deletions