Currently Twig strips out inline CSS from the statblock display template. I'd like to have a border color based on another input, which I know how to do, but when I write '<div class="description" style="border: 3px solid bordercolor ">' Twig strips out the word "style".
I believe this can be fixed by enabling inline_css from Twig: https://twig.symfony.com/doc/3.x/filters/inline_css.html.
<div class="description" style="border: 3px solid bordercolor ;">text </div> renders as <div class="description" ="border: 3px solid green;">text </div>
Hey, why do you apply a style directly? This is not how it should be done. Just use the CSS section for the statblock and define the style there:
.description { border: 3px solid black }or something.
Indeed, we limit inline styling for security reasons, but you can freely use the styling field in the same page for everything you need!