hedgehog Posted February 26, 2019 Posted February 26, 2019 Is there any way to use itemprop tags within product descriptions? Whenever i try to attribute itemprop to <p> <div> <span> or any other tag via source code editor (on product edit page), it just get corrected back to <p>/<span>/<div> without itemprop attribute. For example, if i want to use those tags within my content https://health-lifesci.schema.org/Drug . Same thing with both tb and ps
datakick Posted February 27, 2019 Posted February 27, 2019 7 hours ago, hedgehog said: Is there any way to use itemprop tags within product descriptions? Whenever i try to attribute itemprop to <p> <div> <span> or any other tag via source code editor (on product edit page), it just get corrected back to <p>/<span>/<div> without itemprop attribute. For example, if i want to use those tags within my content https://health-lifesci.schema.org/Drug . Same thing with both tb and ps I don't think it's possible at the moment. Thirtybees sanitize html input and removes every weird markup, js, css,... You can create enhancement request on github for this, though
Traumflug Posted February 27, 2019 Posted February 27, 2019 Back office -> Preferences -> General -> Use HTMLPurifier Library Turning this off might help. 1
hedgehog Posted February 27, 2019 Author Posted February 27, 2019 3 hours ago, Traumflug said: Back office -> Preferences -> General -> Use HTMLPurifier Library Turning this off might help. Wow thank you so much! This actually helped. Editor still deletes span tags, and automatically edits source code a little bit, but now i was able to use itemprop tag within div, which solved my problem. Tested markup in the google tool right now and it recognizes the markup just fine. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now