Quotify inside archived posts.

This commit is contained in:
Nicolas Stepien 2013-01-03 15:30:31 +01:00
parent 7b0c961805
commit 0477eb595c
2 changed files with 3 additions and 0 deletions

View File

@ -3746,6 +3746,7 @@
} }
}); });
comment = bq.innerHTML.replace(/(^|>)(&gt;[^<$]*)(<|$)/g, '$1<span class=quote>$2</span>$3'); comment = bq.innerHTML.replace(/(^|>)(&gt;[^<$]*)(<|$)/g, '$1<span class=quote>$2</span>$3');
comment = comment.replace(/((&gt;){2}(&gt;\/[a-z\d]+\/)?\d+)/g, '<span class=deadlink>$1</span>');
o = { o = {
postID: postID, postID: postID,
threadID: data.thread_num, threadID: data.thread_num,

View File

@ -2978,6 +2978,8 @@ Get =
'</b>' '</b>'
# greentext # greentext
comment = bq.innerHTML.replace /(^|>)(&gt;[^<$]*)(<|$)/g, '$1<span class=quote>$2</span>$3' comment = bq.innerHTML.replace /(^|>)(&gt;[^<$]*)(<|$)/g, '$1<span class=quote>$2</span>$3'
# quotes
comment = comment.replace /((&gt;){2}(&gt;\/[a-z\d]+\/)?\d+)/g, '<span class=deadlink>$1</span>'
o = o =
# id # id