Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

HTML in Character Sheets & Handouts

Hey everyone, I saw a post from a few years back about an HTML rich handout ( this one to be specific ) and it inspired me to use the Bio & Info  section of a character sheet to manage one of my player's abilities ( if you're curious what I'm doing ). It works well, but I'm running into an issue. Both handouts and character sheets seem to strip some HTML tags when you finish with them.  Here's an example of the <button> tag being scrubbed. I've noticed the embed, iframe, and forms are also scrubbed, though this may be an incomplete list of missing tags. The difference in code is <a href="..."><button>Mind Thrust</button></a>    vs.    <a href="...">Mind Thrust</a> Am I doing something wrong, or does Roll20 purposely scrub these tags?
Will said: does Roll20 purposely scrub these tags? Yes; Roll20 sanitized the aforementioned tags and others for security purposes. The same sanitization is used with Character Sheets and the Text Chat output of API commands, as well.
Ah, I see. Thanks for the info :)