git.iko.soy/typeable/pandoc
on master help sign in
Consolidated 'text', 'special', and 'inline' into 'inline'.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@577 788f1e2b-df1e-0410-8736-df70ead52e1b

commit9b3d5d88c2cb4b9779ada57abf2d28b71aad4bea authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSat 17 Mar 2007, 17:25 (20 years ago) parentcdf7c78
1 file changed+23−8
src/Text/Pandoc/Readers/Markdown.hs+23−8
src/Text/Pandoc/Readers/Markdown.hs+23−8
@@ -710,14 +710,29 @@ table = do
710710-- inline
711711--
712712
713−text = choice [ escapedChar, math, strong, emph, smartPunctuation,
714− code, ltSign, symbol,
715− str, linebreak, tabchar, whitespace, endline ] <?> "text"
716−
717−inline = choice [ rawLaTeXInline', escapedChar, entity, special, text ] <?> "inline"
718−
719−special = choice [ noteRef, inlineNote, link, referenceLink, rawHtmlInline',
720− autoLink, image ] <?> "link, inline html, note, or image"
713+inline = choice [ rawLaTeXInline'
714+ , escapedChar
715+ , entity
716+ , noteRef
717+ , inlineNote
718+ , link
719+ , referenceLink
720+ , rawHtmlInline'
721+ , autoLink
722+ , image
723+ , escapedChar
724+ , math
725+ , strong
726+ , emph
727+ , smartPunctuation
728+ , code
729+ , ltSign
730+ , symbol
731+ , str
732+ , linebreak
733+ , tabchar
734+ , whitespace
735+ , endline ] <?> "inline"
721736
722737escapedChar = try $ do
723738 char '\\'