In my dtd
file for my localization strings for the xul of my addon, I have a very long string in which I need a carriage return.
<!ENTITY myentity.label "THIS IS A TEST OF THE EMERGENCY BROADCAST SYSTEM. **break** REPEAT: THIS IS ONLY A TEST.">
What can I put in please of break
in my example?
My dtd file is encoded as UTF-8 without BOM.
I've tried (in place of the break
):
\u000D
\u000D\u000A


%0D%0A
And I've tried adding a literal carriage return, too.
<!ENTITY myentity.label "THIS IS A TEST OF THE EMERGENCY BROADCAST SYSTEM.
REPEAT: THIS IS ONLY A TEST.">
but when the string shows in the dialogue window in Firefox, it still shows as one long line with no breaks - which means the text runs off the edge of the dialogue box.
It seems like I should use the unicode code for the character, but when I add that, it just prints literally.