DocBook reader: Add support for danger element
Added in DocBook 5.2: - https://github.com/docbook/docbook/pull/64 - https://tdg.docbook.org/tdg/5.2/danger.html
This commit is contained in:
parent
af9de925de
commit
c8ab8bccf2
1 changed files with 2 additions and 1 deletions
|
@ -134,6 +134,7 @@ List of all DocBook tags, with [x] indicating implemented,
|
|||
[ ] corpcredit - A corporation or organization credited in a document
|
||||
[ ] corpname - The name of a corporation
|
||||
[ ] country - The name of a country
|
||||
[x] danger - An admonition set off from the text indicating hazardous situation
|
||||
[ ] database - The name of a database, or part of a database
|
||||
[x] date - The date of publication or revision of a document
|
||||
[ ] dedication - A wrapper for the dedication section of a book
|
||||
|
@ -718,7 +719,7 @@ blockTags =
|
|||
] ++ admonitionTags
|
||||
|
||||
admonitionTags :: [Text]
|
||||
admonitionTags = ["important","caution","note","tip","warning"]
|
||||
admonitionTags = ["caution","danger","important","note","tip","warning"]
|
||||
|
||||
-- Trim leading and trailing newline characters
|
||||
trimNl :: Text -> Text
|
||||
|
|
Loading…
Reference in a new issue