Fix deadquotes showing up in code-tags.
This commit is contained in:
parent
2f0427ad94
commit
d155eed8d7
@ -4316,6 +4316,10 @@
|
||||
_ref = $$('.quote.deadlink', post.blockquote);
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
deadlink = _ref[_i];
|
||||
if (deadlink.parentElement.className === 'prettyprint') {
|
||||
$.replace(deadlink, deadlink.firstChild);
|
||||
continue;
|
||||
}
|
||||
quote = deadlink.textContent;
|
||||
a = $.el('a', {
|
||||
textContent: "" + quote + "\u00A0(Dead)"
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
master
|
||||
- noface
|
||||
Fix Anonymize not working on stubs.
|
||||
Fix deadquotes showing up in code-tags.
|
||||
- Mayhem
|
||||
Fix selection quoting on Opera.
|
||||
Fix history bug with Persistent QR enabled on Chrome.
|
||||
|
||||
@ -3526,6 +3526,11 @@ Quotify =
|
||||
node: (post) ->
|
||||
return if post.isInlined and not post.isCrosspost
|
||||
for deadlink in $$ '.quote.deadlink', post.blockquote
|
||||
|
||||
if deadlink.parentElement.className is 'prettyprint'
|
||||
$.replace deadlink, deadlink.firstChild
|
||||
continue
|
||||
|
||||
quote = deadlink.textContent
|
||||
a = $.el 'a',
|
||||
# \u00A0 is nbsp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user