Details
-
Bug
-
Resolution: Solved By
-
Major
-
None
-
8.4.4, 10.2, 11.0.3
-
Unknown
-
N/A
-
N/A
-
Description
For the following wiki syntax (notice the leading space of the value of the hidden input):
{{html}} <form> <input type='hidden' value=" abc"/> </form> {{/html}} {{html clean='false'}} <form> <input type='hidden' value=" abc"/> </form> {{/html}}
The obtained html result is:
<form> <input type="hidden" value="abc" /> </form><form> <input type='hidden' value=" abc"/> </form>
Actual result:
- for the form generated with the html macro without the clean="false" option, the value of the input is just "abc", without the leading space.
Expected result:
- I'd expect the cleaning option of the html macro to not alter the values of the inputs, especially as they are (x)html valid.
Attachments
Issue Links
- depends on
-
XCOMMONS-1571 HtmlCleaner strips the leading space in value form attributes
- Closed