fix bug in double <br> removal

This commit is contained in:
ccd0 2014-09-18 23:53:57 -07:00
parent 4d43b48663
commit 9dd83dcb1f

View File

@ -364,7 +364,7 @@ Build =
$.replace quotelink, [quotelink.childNodes...]
for pp in $$ '.prettyprint', root.lastElementChild
$.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
if thread.isSticky