diff options
| author | Pavol Otto <pavol.otto@cgi.com> | 2023-02-15 11:01:00 +0100 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-02-15 15:51:51 -0800 |
| commit | da9c196e09ecd87b2d727294810357f485733be8 (patch) | |
| tree | 62a7d27727a098ea2e8663fc92521947ea474dfb /src/Text | |
| parent | 5889d70a97c142805c34faf42fd0f933df9e3bdc (diff) | |
fixed <xref> references to tables in DocBook files
Closes #8626.
Diffstat (limited to 'src/Text')
| -rw-r--r-- | src/Text/Pandoc/Readers/DocBook.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/DocBook.hs b/src/Text/Pandoc/Readers/DocBook.hs index e11da4253..ea977f9eb 100644 --- a/src/Text/Pandoc/Readers/DocBook.hs +++ b/src/Text/Pandoc/Readers/DocBook.hs @@ -1359,6 +1359,7 @@ parseInline (Elem e) = "cmdsynopsis" -> descendantContent "command" el "funcsynopsis" -> descendantContent "function" el "figure" -> descendantContent "title" el + "table" -> descendantContent "title" el _ -> qName (elName el) <> "_title" where xrefLabel = attrValue "xreflabel" el |
