Skip to content

Commit

Permalink
Merge pull request #2 from hhy89/patch-2
Browse files Browse the repository at this point in the history
little wrong variable :)
  • Loading branch information
emanuele45 committed Sep 13, 2012
2 parents 1bbcfd5 + e71f044 commit 35f7a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Themes/default/scripts/jquery.sceditor.bbcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@

var width = ' width=' + $(element).width();
var height = ' height=' + $(element).height();
var alt = $(element).attr('alt') != undefined ? ' alt=' + $(element).attr('author').php_unhtmlspecialchars() : '';
var alt = $(element).attr('alt') != undefined ? ' alt=' + $(element).attr('alt').php_unhtmlspecialchars() : '';

return '[img' + width + height + alt + ']' + element.attr('src') + '[/img]';
},
Expand Down

0 comments on commit 35f7a2c

Please sign in to comment.