diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-03-14 23:23:07 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-03-14 23:23:07 +0000 |
commit | 139b2ed6d18940eb41497f5379359b92a347cf61 (patch) | |
tree | c235d0c02199609ff6d8a60b5a828faeed8d45f0 /src/Text/Pandoc/Readers/LaTeX.hs | |
parent | 36a19e0f2e8899a895a4ee0da2bdae86b5443290 (diff) | |
download | pandoc-139b2ed6d18940eb41497f5379359b92a347cf61.tar.gz |
LaTeX reader: Ignore alt title in section headers.
Partially resolves Issue #202.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1886 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/Text/Pandoc/Readers/LaTeX.hs')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index b6e2e4c0c..233f5a3d5 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -171,6 +171,7 @@ header = try $ do subs <- many (try (string "sub")) base <- try (string "section" >> return 1) <|> (string "paragraph" >> return 4) optional (char '*') + optional $ bracketedText '[' ']' -- alt title char '{' title' <- manyTill inline (char '}') spaces |