[SVN] r5232
Allan Odgaard
throw-away-1 at macromates.com
Fri Sep 15 19:50:54 UTC 2006
• change e_pre to htmlize and let it convert successive spaces to using for all but the first, wrap tab characters in <span style="white-space: pre;">…</span>, etc.
The intent is that for output where we need to preserve formatting, *but* want to have word wrap, we do:
puts '<pre style="white-space: normal;">' + htmlize(str) + '</pre>'
Changed:
U trunk/Support/lib/escape.rb
More information about the textmate-dev
mailing list