Permalink
Browse files

spaces in prompt labels are nonbreakable

  • Loading branch information...
1 parent df4744f commit 5f3050999b85e0f6e84283c645e91c2f03f4b64a @chrisdone committed Jun 15, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 jquery.console.js
View
@@ -211,6 +211,7 @@
var label = $('<span class="jquery-console-prompt-label"></span>');
var labelText = extern.continuedPrompt? continuedPromptLabel : promptLabel;
promptBox.append(label.text(labelText).show());
+ label.html(label.html().replace(' ','&nbsp;'));
prompt = $('<span class="jquery-console-prompt"></span>');
promptBox.append(prompt);
inner.append(promptBox);

0 comments on commit 5f30509

Please sign in to comment.