samclarke/SCEditor — pull request #314 by B4c4rd1 (2014-07-10 08:03:15+00:00)
Title: +Sapce in quoted text name!

The name of the quoted text is provided with a change in the source code and back again with a space.

Here's the fix:
```javascript
quote: {
tags: {
blockquote: null
},
isInline: !1,
quoteType: a.sceditor.BBCodeParser.QuoteType.never,
format: function (b, c) {

var d = "",
e = a(b),
f = e.children("cite").first();
return (1 === f.length || e.data("author")) && (d = f.text() || e.data("author"), e.data("author", d), f.remove(), c = this.elementToBbcode(a(b)), d = "=" + d, e.prepend(f)), "[quote" + d.replace(/\s+/, "") + "]" + c + "[/quote]"
},
html: function (a, b, c) {
return b.defaultattr && (c = "" + d(b.defaultattr) + "" + c), "

" + c + "

"
}
},
```

Add: d -> d.replace(/\s+/, "")