
So right now, I've got this very simple piece of code: <span name="attr_tech_description"></span> And this is the code that sets attr_tech_description: var description = 'This is a <b>bold</b> description';
var attrs = {};
attrs['repeating_techs_' + idarray[i] + '_tech_description'] = description;
setAttrs(attrs);
But the problem is that I was hoping it would put the word 'bold' in bold, but instead it just draws out the full HTML as a string. In short, what I'm trying to do is use dynamic character sheet data to generate a text description of what an ability does, but I want to have formatting on the description, like bolding important keywords or numbers. What's the best way to set this up? Thanks in advance for the help!