Menu

#213 Allow trimming spaces in all attributes except input value

v2.30
open
nobody
None
3
2023-06-19
2019-02-01
Simon Urli
No

We recently encountered an issue because we leave the trimAttributeValues set to true, but some of our HTML forms are using leading space in some hidden inputs. So we switch this flag, but then encountered other bugs because of remaining spaces in class attribute that we would want to clean.
Here's the original issue, for more details: https://jira.xwiki.org/browse/XCOMMONS-1571

It would be great to have more fine grained control over this flag: allowing us to control it over an AttributeTransformation could be really useful in this kind of case.

Discussion

  • Scott Wilson

    Scott Wilson - 2019-09-04
    • Group: v2.22 --> v2.24
     
  • Scott Wilson

    Scott Wilson - 2020-04-29
    • Group: v2.24 --> v2.25
     
  • Scott Wilson

    Scott Wilson - 2021-09-24
    • Group: v2.25 --> v2.26
     
  • Scott Wilson

    Scott Wilson - 2023-04-29
    • Group: v2.26 --> v2.29
     
  • Scott Wilson

    Scott Wilson - 2023-06-19
    • Group: v2.29 --> v2.30
     

Log in to post a comment.

Auth0 Logo