parent
9989170df2
commit
9a347c37ad
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ keyToRST (label, (src, _)) = do
|
||||||
let label'' = if ':' `elem` (render Nothing label')
|
let label'' = if ':' `elem` (render Nothing label')
|
||||||
then char '`' <> label' <> char '`'
|
then char '`' <> label' <> char '`'
|
||||||
else label'
|
else label'
|
||||||
return $ ".. _" <> label'' <> ": " <> text src
|
return $ nowrap $ ".. _" <> label'' <> ": " <> text src
|
||||||
|
|
||||||
-- | Return RST representation of notes.
|
-- | Return RST representation of notes.
|
||||||
notesToRST :: [[Block]] -> State WriterState Doc
|
notesToRST :: [[Block]] -> State WriterState Doc
|
||||||
|
|
Loading…
Reference in a new issue