It's quite interessting.
I'm feeding the FontNames property with (editable) fontnames like "Arial,sans-serif" ( Editor.FontNames.Add() ).
Now we have encountered that fontnames with numbers like "Univers LT 45 Light,sans-serif" causes problems.
You can select it and everything seems fine.
But if you select HTML-View it disappears and looks like this: "<span>test</span>".
Remove the number ("Univers LT Light,sans-serif") and it works.
Luckily I found a workaround: 'Univers LT Light',sans-serif
Using single quotes around the name and it seems to work.
Is there another workaround/hack for this issue?
This only happens in Firefox (3.6.11), in IE it's fine.
I'm feeding the FontNames property with (editable) fontnames like "Arial,sans-serif" ( Editor.FontNames.Add() ).
Now we have encountered that fontnames with numbers like "Univers LT 45 Light,sans-serif" causes problems.
You can select it and everything seems fine.
But if you select HTML-View it disappears and looks like this: "<span>test</span>".
Remove the number ("Univers LT Light,sans-serif") and it works.
Luckily I found a workaround: 'Univers LT Light',sans-serif
Using single quotes around the name and it seems to work.
Is there another workaround/hack for this issue?
This only happens in Firefox (3.6.11), in IE it's fine.