Permalink
Browse files

Merge pull request #8 from cmex/master

letter-spacing issue
  • Loading branch information...
2 parents 3a39cac + d0c4c05 commit 8418a41ae5b3ab42fba7b716caef36218d5bb027 @freqdec committed Jun 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/jquery.slabtext.js
View
@@ -124,10 +124,10 @@
finalText = postText;
};
- lineText.push('<span class="slabtext">' + (settings.wrapAmpersand ? finalText.replace("&", '<span class="amp">&amp;</span>') : finalText) + "</span>");
+ lineText.push('<span class="slabtext">' + $.trim(settings.wrapAmpersand ? finalText.replace("&", '<span class="amp">&amp;</span>') : finalText) + "</span>");
};
- $this.html(lineText.join(""));
+ $this.html(lineText.join(" "));
};
} else {
// We only need the font-size for the resize-to-fit functionality

0 comments on commit 8418a41

Please sign in to comment.