RST reader: use title, not admonition-title, for admonition title.
This puts RST reader into alignment with docbook reader.
This commit is contained in:
parent
1c71bd1ff5
commit
8e01ccb41d
1 changed files with 1 additions and 1 deletions
|
@ -695,7 +695,7 @@ directive' = do
|
|||
do bod <- parseFromString' parseBlocks $ top ++ "\n\n" ++ body'
|
||||
let lab = case label of
|
||||
"admonition" -> mempty
|
||||
(l:ls) -> B.divWith ("",["admonition-title"],[])
|
||||
(l:ls) -> B.divWith ("",["title"],[])
|
||||
(B.para (B.str (toUpper l : ls)))
|
||||
[] -> mempty
|
||||
return $ B.divWith (name,label:classes,keyvals) (lab <> bod)
|
||||
|
|
Loading…
Reference in a new issue