Multiple spaces are collapsed in DHTML/simulation export.
Add a text label and put something like "aaaa [multiple spaces] bbbbb". It looks good until you run the simulation, where the HTML collapses all the spaces to a single space. Exporting as " " instead of just spaces might fix this.
Help get this topic noticed by sharing it on Twitter, Facebook, or email.