Modified disallowedInNode in Texinfo writer to correct list of disallowed characters.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1246 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
839f77d81e
commit
94dcbab55f
1 changed files with 2 additions and 4 deletions
|
@ -355,10 +355,8 @@ inlineForNode (Link lst _) = inlineListForNode lst
|
|||
inlineForNode (Image lst _) = inlineListForNode lst
|
||||
inlineForNode (Note _) = return empty
|
||||
|
||||
-- XXX not sure what the complete set of illegal characters is.
|
||||
disallowedInNode '.' = True
|
||||
disallowedInNode ',' = True
|
||||
disallowedInNode _ = False
|
||||
-- periods, commas, colons, and parentheses are disallowed in node names
|
||||
disallowedInNode c = c `elem` ".,:()"
|
||||
|
||||
-- | Convert inline element to Texinfo
|
||||
inlineToTexinfo :: Inline -- ^ Inline to convert
|
||||
|
|
Loading…
Reference in a new issue