tornado icon indicating copy to clipboard operation
tornado copied to clipboard

Template eats up consecutive blanks in javascript section

Open rushmore opened this issue 15 years ago • 1 comments

consecutive blanks not working correctly as follow:

var txt = "123456789 "; // leaving 2 blanks at the lend document.write(txt.length); //prints out 10, not 11 if passed from tornado server, but 11 if access from browser directly as expected

rushmore avatar Oct 01 '11 08:10 rushmore

This is the "compress_whitespace" feature, so this is a duplicate of #178.

bdarnell avatar Apr 28 '14 00:04 bdarnell