aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-09 09:45:17 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-09 09:45:17 -0700
commitac18ff90b22c2a8f8b829acb9139477ee7b02954 (patch)
tree023b67af082d5460e776b8cbd6686383a2e629d1 /src
parent96933c60432276fcbe2e24163868fffb138e6a11 (diff)
downloadpandoc-ac18ff90b22c2a8f8b829acb9139477ee7b02954.tar.gz
Org reader: use org-language attribute rather than data-org-language.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/Org/Shared.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Org/Shared.hs b/src/Text/Pandoc/Readers/Org/Shared.hs
index 952082ec1..580e9194f 100644
--- a/src/Text/Pandoc/Readers/Org/Shared.hs
+++ b/src/Text/Pandoc/Readers/Org/Shared.hs
@@ -76,7 +76,7 @@ originalLang lang =
let transLang = translateLang lang
in if transLang == lang
then []
- else [("data-org-language", lang)]
+ else [("org-language", lang)]
-- | Translate from Org-mode's programming language identifiers to those used
-- by Pandoc. This is useful to allow for proper syntax highlighting in