diff --git a/src/errors.dtd b/src/errors.dtd index 783467d..22105c0 100644 --- a/src/errors.dtd +++ b/src/errors.dtd @@ -1,4 +1,4 @@ - + @@ -41,7 +41,7 @@ - + + + + diff --git a/src/errors.rnc b/src/errors.rnc index b00ae4b..2dd6c8f 100644 --- a/src/errors.rnc +++ b/src/errors.rnc @@ -1,5 +1,5 @@ # THIS IS A GENERATED FILE, DO NOT EDIT! -# Copyright (C) 2016-2019, Kevin Brubeck Unhammer +# Copyright (C) 2016-2024, Kevin Brubeck Unhammer # This program is free software: you can redistribute it and/or modify @@ -48,7 +48,7 @@ attlist.error &= header = element header { attlist.header, (title | references)+ } attlist.header &= empty -Text = (text | em)* +Text = (text | em | a)* title = element title { attlist.title, Text } attlist.title &= attribute xml:lang { text } @@ -73,4 +73,7 @@ attlist.description &= attribute xml:lang { text } em = element em { attlist.em, text } attlist.em &= empty +a = element a { attlist.a, text } +attlist.a &= attribute href { text } + start = errors diff --git a/test/suggest/errors.xml b/test/suggest/errors.xml index f120d33..cf473dd 100644 --- a/test/suggest/errors.xml +++ b/test/suggest/errors.xml @@ -28,7 +28,7 @@ Čállinmeattáhus - The word "$1" exists in the dictionary, but means something different in this context. + The word "$1" exists in the dictionary, but means something different in this context. "$1" maŋis galggašii leat blah