* edited example in README.md to be more clear
 * fixed a typo in RedButton template.
 * fixed a typo in comment ajax. Can now use sticky again.
 * fixed a logic error in comment reply js. do not line break image sources.
This commit is contained in:
Sarjuuk
2017-03-09 01:57:05 +01:00
parent fce8b01493
commit a48f30e8a4
4 changed files with 7 additions and 5 deletions

View File

@@ -13021,7 +13021,7 @@ Listview.templates = {
var replyHtml = Markup.toHtml(reply.body, {allow: Markup.CLASS_USER, mode: Markup.MODE_REPLY, roles: 0, locale: comment.locale});
replyHtml = replyHtml.replace(/[^\s<>]{81,}/, function(text) {
if(text.substring(0, 5) == 'href')
if(text.substring(0, 4) == 'href' || text.substring(0, 3) == 'src')
return text;
var ret = '';