Fix handling <br>s when quoting selection in QR

The previous code caused, among others, merging of two-line selections
into one line.
Merge pull request #1591 from mgrabovsky/br-quoting-fix

Fix handling line breaks when quoting selection in QR