Skip to content

Release 1.4.9 validation messages not html escaped in page source #42

@ramyakrish85

Description

@ramyakrish85

I installed plugin version 1.4.9.The validation was not working for me as the message section has unescaped html:Any ideas?Using it with grails 2.3.7.

messages: {
custName: { maxlength: function() { return 'Property \u005bcustName\u005d of class \u005bclass Cust\u005d with value \u005b' + $('#custName').val() + '\u005d exceeds the maximum size of \u005b100\u005d'; }, required: 'Customer Name cannot be blank.' },
custDesc: { maxlength: function() { return 'Property \u005bcustDesc\u005d of class \u005bclass Cust\u005d with value \u005b' + $('#custDesc').val() + '\u005d exceeds the maximum size of \u005b200\u005d'; } },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions