aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/dtd/common.refs.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.refs.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.refs.dtd')
-rw-r--r--lib/erl_docgen/priv/dtd/common.refs.dtd11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/erl_docgen/priv/dtd/common.refs.dtd b/lib/erl_docgen/priv/dtd/common.refs.dtd
index a32c34536d..6889e990de 100644
--- a/lib/erl_docgen/priv/dtd/common.refs.dtd
+++ b/lib/erl_docgen/priv/dtd/common.refs.dtd
@@ -27,15 +27,15 @@
<!ELEMENT description (%block;|quote|br|marker|warning|note|dont|do)* >
<!ELEMENT funcs (func)+ >
-<!ELEMENT func (name+,type_desc*,fsummary,type*,desc?) >
+<!ELEMENT func (name+,fsummary,(type|type_desc)*,desc?) >
<!-- ELEMENT name is defined in each ref dtd -->
-<!ELEMENT fsummary (#PCDATA|c|em)* >
+<!ELEMENT fsummary (#PCDATA|c|i|em|anno)* >
<!ELEMENT type (v,d?)* >
<!ATTLIST type variable CDATA #IMPLIED
name CDATA #IMPLIED
name_i CDATA #IMPLIED>
<!ELEMENT v (#PCDATA|seealso)* >
-<!ELEMENT d (#PCDATA|c|em)* >
+<!ELEMENT d (#PCDATA|c|i|em)* >
<!ELEMENT desc (%block;|quote|br|marker|warning|note|dont|do)* >
<!ELEMENT authors (aname,email)+ >
<!ELEMENT aname (#PCDATA) >
@@ -44,5 +44,6 @@
warning|note|dont|do)*) >
<!ELEMENT datatypes (datatype)+ >
<!ELEMENT datatype (name+,desc?) >
-<!ELEMENT type_desc (#PCDATA|anno)* >
-<!ATTLIST type_desc variable CDATA #REQUIRED>
+<!ELEMENT type_desc (#PCDATA|anno|c|seealso)* >
+<!ATTLIST type_desc variable CDATA #IMPLIED
+ name CDATA #IMPLIED>