From ac18ff90b22c2a8f8b829acb9139477ee7b02954 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 9 Aug 2017 09:45:17 -0700 Subject: Org reader: use org-language attribute rather than data-org-language. --- src/Text/Pandoc/Readers/Org/Shared.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3