summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-03-02 12:52:39 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-03-02 12:52:39 +0300
commita01573692af91f54b5fe6670e4a07fb6a3935181 (patch)
tree19ab7a072f699539a534e3277f1261a65e4a4b53 /src
parent64f8c5d99cb7040479d6baf8950ef991fa23acae (diff)
Muse reader: enable <literal> tags even if amuse extension is enabled
Amusewiki disables <literal> tags for security reasons. If user wants similar behavior in pandoc, RawBlocks and RawInlines can be removed or replaced with filters.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/Muse.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/Muse.hs b/src/Text/Pandoc/Readers/Muse.hs
index aaa54e65b..c083933ff 100644
--- a/src/Text/Pandoc/Readers/Muse.hs
+++ b/src/Text/Pandoc/Readers/Muse.hs
@@ -402,7 +402,6 @@ exampleTag = try $ do
literalTag :: PandocMonad m => MuseParser m (F Blocks)
literalTag = do
- guardDisabled Ext_amuse -- Text::Amuse does not support <literal>
(return . rawBlock) <$> htmlBlock "literal"
where
-- FIXME: Emacs Muse inserts <literal> without style into all output formats, but we assume HTML
@@ -880,7 +879,6 @@ codeTag = do
inlineLiteralTag :: PandocMonad m => MuseParser m (F Inlines)
inlineLiteralTag = do
- guardDisabled Ext_amuse -- Text::Amuse does not support <literal>
(return . rawInline) <$> htmlElement "literal"
where
-- FIXME: Emacs Muse inserts <literal> without style into all output formats, but we assume HTML