git.iko.soy/typeable/pandoc
on master help sign in
DocBook reader: properly handle title in section element.
c82ee31John MacFarlane
src/Text/Pandoc/Readers/DocBook.hs+1
@@ -1049,6 +1049,7 @@ parseInline (Elem e) =
1049 | not (null xrefLabel) = xrefLabel
1049 | not (null xrefLabel) = xrefLabel
1050 | otherwise = case qName (elName el) of
1050 | otherwise = case qName (elName el) of
1051 "chapter" -> descendantContent "title" el
1051 "chapter" -> descendantContent "title" el
1052+ "section" -> descendantContent "title" el
1052 "sect1" -> descendantContent "title" el
1053 "sect1" -> descendantContent "title" el
1053 "sect2" -> descendantContent "title" el
1054 "sect2" -> descendantContent "title" el
1054 "sect3" -> descendantContent "title" el
1055 "sect3" -> descendantContent "title" el