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 .
×

[Bug?] in sendChat( '', '/direct ...') -- CSS: function style parameters like linear-gradient() get stripped.

1402796774
The Aaron
Roll20 Production Team
API Scripter
I'm trying to use a linear gradient like the following: background: linear-gradient(to right, red,orange,yellow,green,blue,indigo,violet); and it is getting stripped out when the message is sent to the chat. Is this intentional? Or perhaps a side effect of code to strip javascript out? It's really a shame because you can make some great effects with them (or garish ones like the above. =D). Any chance this will get fixed?
1402797564
The Aaron
Roll20 Production Team
API Scripter
<img style="height: 5px; width: 100%;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAABCAYAAADw8vieAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYPATM47miFkAAAAKVJREFUOMutVMsOwyAMcwf8/weTlF7YhFCedAdUMLWbOoZrAAMV+I2yzL/rJuAep/7pfaue9lJrw+4PQAAYQJ9Pgo3RxEnZ0wYrWD/UkbhSnRz4JgGGkZrhUlPWvZ2786zAeSGM6FaH32Sdu8imUcJoVkJCTsM03WgjM4FiQ3/Oy4i5nr1GLExL0+mVU5YatX/wEzYSp46Cp3nXOtHugfBk67DD/QB+TswBg2goqwAAAABJRU5ErkJggg==" /> Loses it's src as well. What gives?