Skip to content

Commit

Permalink
RST writer: Don't wrap link references.
Browse files Browse the repository at this point in the history
Closes #487.
  • Loading branch information
John MacFarlane committed Apr 21, 2012
1 parent 9989170 commit 9a347c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Text/Pandoc/Writers/RST.hs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ keyToRST (label, (src, _)) = do
let label'' = if ':' `elem` (render Nothing label')
then char '`' <> label' <> char '`'
else label'
return $ ".. _" <> label'' <> ": " <> text src
return $ nowrap $ ".. _" <> label'' <> ": " <> text src

-- | Return RST representation of notes.
notesToRST :: [[Block]] -> State WriterState Doc
Expand Down

0 comments on commit 9a347c3

Please sign in to comment.