Remove (embed) links from quotes.
This commit is contained in:
parent
666276dd34
commit
84211ce91e
@ -233,6 +233,9 @@ QR =
|
||||
$.replace node, [$.tn('[spoiler]'), node.childNodes..., $.tn '[/spoiler]']
|
||||
for node in $$ '.prettyprint', frag
|
||||
$.replace node, [$.tn('[code]'), node.childNodes..., $.tn '[/code]']
|
||||
for node in $$ '.embedder', frag
|
||||
$.rm node.previousSibling if node.previousSibling?.nodeValue is ' '
|
||||
$.rm node
|
||||
text += ">#{frag.textContent.trim()}\n"
|
||||
|
||||
QR.open()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user