Small change to referenceTitle: should end with line-end, not ')'.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@953 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher 2007-08-29 01:53:50 +00:00
parent 21a2acaac9
commit 77f63605f5

View file

@ -178,8 +178,7 @@ referenceTitle = try $ do
skipSpaces
tit <- (charsInBalanced '(' ')' >>= return . unwords . words)
<|> do delim <- char '\'' <|> char '"'
manyTill anyChar (try (char delim >> skipSpaces >>
notFollowedBy (noneOf ")\n")))
manyTill anyChar (try (char delim >> blankline))
return $ decodeCharacterReferences tit
noteMarker = string "[^" >> manyTill (noneOf " \t\n") (char ']')