Preview a topic that has an HTMLO form. As per spec, all form fields are disabled. However, the
disabled="disabled"
parameter has no trailing space, resulting in this HTML code:
<input disabled="disabled"type="text" name="topic" size="24" />
<input disabled="disabled"type="hidden" name="templatetopic" value="NewPluginTemplate" />
<input disabled="disabled"type="hidden" name="onlywikiname" value="on" />
<input disabled="disabled"type="submit" value="Create" />
It is very likely that not all browsers can grok
disabled="disabled"type="text"
, it is also not valid XHTML.
Proper output, with trailing space:
<input disabled="disabled" type="text" name="topic" size="24" />
<input disabled="disabled" type="hidden" name="templatetopic" value="NewPluginTemplate" />
<input disabled="disabled" type="hidden" name="onlywikiname" value="on" />
<input disabled="disabled" type="submit" value="Create" />
Note: I have not checked the
CommentPlugin for proper behaviour.
--
PTh
Missing space
CC
I have seen this kind of bug cause trouble before so I will take it into hotfix-4.0.4-4. It is a very small and safe fix.
KJL