Add missing img_width and img_height in rng validation for issue1120 thanks to
woakas
This commit is contained in:
1 parent
92757863f3
commit
e73a5401bd
2 files changed
+12
No files matched your search
@@ -125,6 +125,8 @@ attlist.field &=
|
||||
}?
|
||||
attlist.field &= attribute spell { text }?
|
||||
attlist.field &= attribute float_time { text }?
|
||||
attlist.field &= attribute img_width { text }?
|
||||
attlist.field &= attribute img_height { text }?
|
||||
image = element image { attlist.image, empty }
|
||||
attlist.image &= attribute name { text }
|
||||
attlist.image &= [ a:defaultValue = "1" ] attribute colspan { text }?
|
||||
|
||||
@@ -458,6 +458,16 @@
|
||||
<empty/>
|
||||
</element>
|
||||
</define>
|
||||
<define name="attlist.field" combine="interleave">
|
||||
<optional>
|
||||
<attribute name="img_width"/>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="attlist.field" combine="interleave">
|
||||
<optional>
|
||||
<attribute name="img_height"/>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="attlist.image" combine="interleave">
|
||||
<attribute name="name"/>
|
||||
</define>
|
||||
|
||||
Reference in new issue
Block a user