Skip to content

Commit

Permalink
! the editor did not support shorthand quote=someone tags elkarte#1400
Browse files Browse the repository at this point in the history
Signed-off-by: Spuds <spuds@spudsdesign.com>
  • Loading branch information
Spuds committed Mar 3, 2014
1 parent 165dba7 commit 455414e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions themes/default/scripts/jquery.sceditor.elkarte.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,13 @@ $.sceditor.plugins.bbcode.bbcode
attr_author = attrs.author;
sAuthor = bbc_quote_from + ': ' + attr_author;
}
// Done as [quote=someone]
else if (typeof attrs.defaultattr !== "undefined")
{
// Convert it to an author tag
attr_author = attrs.defaultattr;
sAuthor = bbc_quote_from + ': ' + attr_author;
}

// Links could be in the form: link=topic=71.msg201#msg201 that would fool javascript, so we need a workaround
for (var key in attrs)
Expand Down

0 comments on commit 455414e

Please sign in to comment.