mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc
* 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:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user