aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/dtd/common.dtd
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2015-10-16 12:57:24 +0200
committerLars Thorsen <[email protected]>2015-11-30 08:42:17 +0100
commit39f4c81043c00e2e1284855b07f5181b6ac28841 (patch)
tree1089e8b2952e4aa4cd925e35b10e02f2fcd522b5 /lib/erl_docgen/priv/dtd/common.dtd
parent166706fbe4b9c32cd3360addfa4428bc06f78380 (diff)
downloadotp-39f4c81043c00e2e1284855b07f5181b6ac28841.tar.gz
otp-39f4c81043c00e2e1284855b07f5181b6ac28841.tar.bz2
otp-39f4c81043c00e2e1284855b07f5181b6ac28841.zip
[erl_docgen] Correct DTD for tags anno, fsummary and add an tag i (italic).
Diffstat (limited to 'lib/erl_docgen/priv/dtd/common.dtd')
-rw-r--r--lib/erl_docgen/priv/dtd/common.dtd15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/erl_docgen/priv/dtd/common.dtd b/lib/erl_docgen/priv/dtd/common.dtd
index cfaf3ead3b..0e7467da36 100644
--- a/lib/erl_docgen/priv/dtd/common.dtd
+++ b/lib/erl_docgen/priv/dtd/common.dtd
@@ -24,13 +24,13 @@
<!ENTITY % block "p|pre|code|list|taglist|codeinclude|
erleval" >
-<!ENTITY % inline "#PCDATA|c|em|term|cite|br|path|seealso|
+<!ENTITY % inline "#PCDATA|c|i|em|term|cite|br|path|seealso|
url|marker|anno" >
<!-- XXX -->
<!ELEMENT p (%inline;)* >
-<!ELEMENT pre (#PCDATA|seealso|url|input)* >
-<!ELEMENT input (#PCDATA|seealso|url)* >
-<!ELEMENT code (#PCDATA) >
+<!ELEMENT pre (#PCDATA|seealso|url|input|anno)* >
+<!ELEMENT input (#PCDATA|seealso|url|anno)* >
+<!ELEMENT code (#PCDATA|anno)* >
<!ATTLIST code type (erl|c|none) "none" >
<!ELEMENT quote (p)* >
<!ELEMENT warning (%block;|quote|br|marker)* >
@@ -38,7 +38,8 @@
<!ELEMENT dont (%block;|quote|br|marker)* >
<!ELEMENT do (%block;|quote|br|marker)* >
<!ELEMENT c (#PCDATA|anno)* >
-<!ELEMENT em (#PCDATA|c)* >
+<!ELEMENT i (#PCDATA|c|anno)* >
+<!ELEMENT em (#PCDATA|c|anno)* >
<!ELEMENT anno (#PCDATA) >
<!-- XXX -->
@@ -66,12 +67,12 @@
<!ELEMENT list (item+) >
<!ATTLIST list type (ordered|bulleted) "bulleted" >
<!ELEMENT taglist (tag,item+)+ >
-<!ELEMENT tag (#PCDATA|c|em|seealso|url|marker|anno)* >
+<!ELEMENT tag (#PCDATA|c|i|em|seealso|url|marker|anno)* >
<!ELEMENT item (%inline;|%block;)* >
<!-- References -->
-<!ELEMENT seealso (#PCDATA|c|em)* >
+<!ELEMENT seealso (#PCDATA|c|i|em|anno)* >
<!ATTLIST seealso marker CDATA #REQUIRED >
<!ELEMENT url (#PCDATA) >
<!ATTLIST url href CDATA #REQUIRED >