We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While testing this library I found an issue which seems odd. I tested this as my template function
template: function(item, element, data){ let html = `<h6><i class="${item.icon}"></i>${item.content}</h6>`; console.log(html); return html; } }
The class from the i element is removed once it's returned, i can see in the console the html output is correct
i
but this is the elements in the dom
EDIT:
After some debugging it looks like a call to util.xss(content) strips the class
util.xss(content)
Thanks
Steve
The text was updated successfully, but these errors were encountered:
see #846
Sorry, something went wrong.
@Steveiwonder Thanks for reporting this! Let's close this as a dublicate of #846
No branches or pull requests
While testing this library I found an issue which seems odd.
I tested this as my template function
The class from the
i
element is removed once it's returned, i can see in the console the html output is correctbut this is the elements in the dom
EDIT:
After some debugging it looks like a call to
util.xss(content)
strips the classThanks
Steve
The text was updated successfully, but these errors were encountered: