Encoding a line break in a string without using HTML

allenylzhou picture allenylzhou · Jul 25, 2012 · Viewed 17.2k times · Source

Is there a way to encode a line break into a string without using any HTML entities or tags? Specifically, I would like a string that I pass into the dojox.gfx renderer to display a line break.

Answer

ckg picture ckg · Jul 25, 2012