fix bug in double <br> removal
This commit is contained in:
parent
4d43b48663
commit
9dd83dcb1f
@ -364,7 +364,7 @@ Build =
|
|||||||
$.replace quotelink, [quotelink.childNodes...]
|
$.replace quotelink, [quotelink.childNodes...]
|
||||||
for pp in $$ '.prettyprint', root.lastElementChild
|
for pp in $$ '.prettyprint', root.lastElementChild
|
||||||
$.replace pp, $.tn pp.textContent
|
$.replace pp, $.tn pp.textContent
|
||||||
for br in $$ 'br', root.lastElementChild when br.previousSibling.nodeName is 'BR'
|
for br in $$ 'br', root.lastElementChild when !br.previousSibling or br.previousSibling.nodeName is 'BR'
|
||||||
$.rm br
|
$.rm br
|
||||||
|
|
||||||
if thread.isSticky
|
if thread.isSticky
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user