Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Small update so that 'letter-spacing' will actually work

  • Loading branch information...
commit d0c4c05aa2b1631e6963f2a220c6b242bab2a552 1 parent 3a39cac
cmex cmex authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 js/jquery.slabtext.js
4 js/jquery.slabtext.js
@@ -124,10 +124,10 @@
124 124 finalText = postText;
125 125 };
126 126
127   - lineText.push('<span class="slabtext">' + (settings.wrapAmpersand ? finalText.replace("&", '<span class="amp">&amp;</span>') : finalText) + "</span>");
  127 + lineText.push('<span class="slabtext">' + $.trim(settings.wrapAmpersand ? finalText.replace("&", '<span class="amp">&amp;</span>') : finalText) + "</span>");
128 128 };
129 129
130   - $this.html(lineText.join(""));
  130 + $this.html(lineText.join(" "));
131 131 };
132 132 } else {
133 133 // We only need the font-size for the resize-to-fit functionality

0 comments on commit d0c4c05

Please sign in to comment.
Something went wrong with that request. Please try again.