-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow html hyperlinks with href in errors.xml
- Loading branch information
Showing
3 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!-- Copyright (C) 2016-2019, Kevin Brubeck Unhammer <[email protected]> --> | ||
<!-- Copyright (C) 2016-2024, Kevin Brubeck Unhammer <[email protected]> --> | ||
|
||
<!-- This program is free software: you can redistribute it and/or modify --> | ||
<!-- it under the terms of the GNU General Public License as published by --> | ||
|
@@ -41,7 +41,7 @@ | |
|
||
<!ELEMENT header (title | references)+> | ||
|
||
<!ENTITY % Text "(#PCDATA | em)*"> | ||
<!ENTITY % Text "(#PCDATA | em | a)*"> | ||
|
||
<!ELEMENT title %Text;> | ||
<!ATTLIST title | ||
|
@@ -70,3 +70,8 @@ | |
> | ||
|
||
<!ELEMENT em (#PCDATA)> | ||
|
||
<!ELEMENT a (#PCDATA)> | ||
<!ATTLIST a | ||
href CDATA #REQUIRED | ||
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# THIS IS A GENERATED FILE, DO NOT EDIT! | ||
# Copyright (C) 2016-2019, Kevin Brubeck Unhammer <[email protected]> | ||
# Copyright (C) 2016-2024, Kevin Brubeck Unhammer <[email protected]> | ||
|
||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters