mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
Suppress the box->space spaces after BRs in copied/saved text selections.
svn path=/trunk/netsurf/; revision=4066
This commit is contained in:
parent
421be3633e
commit
13b1c0d379
@ -514,7 +514,8 @@ bool traverse_tree(struct box *box, unsigned start_idx, unsigned end_idx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
box_length = box->length + box->space; /* include trailing space */
|
box_length = box->length + box->space; /* include trailing space */
|
||||||
if (num_space == NUMBER_SPACE(box->byte_offset)) {
|
if (num_space == NUMBER_SPACE(box->byte_offset) &&
|
||||||
|
box->type != BOX_BR) {
|
||||||
unsigned start_offset;
|
unsigned start_offset;
|
||||||
unsigned end_offset;
|
unsigned end_offset;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user