Merge pull request #1591 from mgrabovsky/br-quoting-fix
Fix handling line breaks when quoting selection in QR
This commit is contained in:
commit
b8a9b4a47f
@ -182,7 +182,7 @@ QR =
|
||||
$.prepend frag, $.tn '[code]'
|
||||
$.add frag, $.tn '[/code]'
|
||||
for node in $$ 'br', frag
|
||||
$.replace node, $.tn '\n>' unless node is frag.lastElementChild
|
||||
$.replace node, $.tn '\n>' unless node is frag.lastChild
|
||||
for node in $$ 's', frag
|
||||
$.replace node, [$.tn('[spoiler]'), node.childNodes..., $.tn '[/spoiler]']
|
||||
for node in $$ '.prettyprint', frag
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user