I'm currently working on some automated calculation of dice on my sheet and get into problems when I try to display them in inline text. my code currently looks like this: <input type="hidden" disabled="true" name="attr_str_dice" value="...maths and stuff..." /> Strength<span name="attr_str_dice"></span>
<input type="text" autocomplete="off" name="attr_str" value="1"> The value for attr_str_dice is calculated correctly and can be used in rolls but the <span> element just displays the formula in plaintext. Is there a way to fix this or should I just change the input to text and do some css surgery until it looks right?