Remove spaces that don't make sense when using the text in divs

This commit is contained in:
Julian Viereck 2012-09-14 20:04:45 -07:00
parent e22fc80d3e
commit 6bc2a0b84a

View File

@ -557,10 +557,14 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
chunk += fontCharsToUnicode(args[0], font); chunk += fontCharsToUnicode(args[0], font);
break; break;
case "'": case "'":
chunk += fontCharsToUnicode(args[0], font) + ' '; // For search, adding a extra white space for line breaks would be
// better here, but that causes too much spaces in the
// text-selection divs.
chunk += fontCharsToUnicode(args[0], font);
break; break;
case '"': case '"':
chunk += fontCharsToUnicode(args[2], font) + ' '; // Note comment in "'"
chunk += fontCharsToUnicode(args[2], font);
break; break;
case 'Do': case 'Do':
// Set the chunk such that the following if won't add something // Set the chunk such that the following if won't add something