In your anonymous hashref's for the font attributes, add in -style=>'white-space: pre'. I have not tested this, but it should work.
In reply to Re: spaces wont be displayed
by eclark
in thread spaces wont be displayed
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |