diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-11-19 22:58:19 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-11-19 23:17:50 -0800 |
commit | 73e2d7976c06cc6087f2c4a63538593076fb5623 (patch) | |
tree | a9efd542f30a1e07df3b837897c07d9884f51619 /src/Text/Pandoc/Writers | |
parent | 244cd5644b44f43722530379138bd7bb9cbace9b (diff) | |
download | pandoc-73e2d7976c06cc6087f2c4a63538593076fb5623.tar.gz |
Renamed link attribute extensions.
* Old `link_attributes` -> `mmd_link_attributes`
* Recently added `common_link_attributes` -> `link_attributes`
Note: this change could break some existing workflows.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r-- | src/Text/Pandoc/Writers/Markdown.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Markdown.hs b/src/Text/Pandoc/Writers/Markdown.hs index 898e6c32d..731fa86c4 100644 --- a/src/Text/Pandoc/Writers/Markdown.hs +++ b/src/Text/Pandoc/Writers/Markdown.hs @@ -287,7 +287,7 @@ attrsToMarkdown attribs = braces $ hsep [attribId, attribClasses, attribKeys] linkAttributes :: WriterOptions -> Attr -> Doc linkAttributes opts attr = - if isEnabled Ext_common_link_attributes opts && attr /= nullAttr + if isEnabled Ext_link_attributes opts && attr /= nullAttr then attrsToMarkdown attr else empty |