MantisBT - NetSurf
View Issue Details
0000467NetSurfLayoutpublic2006-03-25 21:382018-07-29 10:17
ReporterRichard Porter 
Assigned To 
PlatformOSOS Version
Product Version 
Target Version4.0Fixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0000467: Word wrap error
DescriptionIf an anchor tag occurs in the middle of a 'word' then the word can be split at that point across two lines.

Specifically, a sequence such as
can leave the open bracket at the end of a line despit e the fact that there is no white space between it and "photo". Changing the window size can leave the closing bracket by itself on the next line.

This comes from
Additional Informationminijem added a note on Tue Mar 3 12:19:56 2009

This is still a problem. Lines can be split at any tag even when there is no white space. If you look at page (sorry there is still the pasting on the wrong line bug) by adjusting the window width you can end up with the bracket before or after the link on a separate line. If the brackets are inside the link it is OK.

element3260 added a note on Tue Mar 3 06:48:32 2009

Thank you for taking the time to report this bug and helping to make NetSurf better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest NetSurf build? Thanks in advance.

minijem added a note on Thu Jul 6 15:11:10 2006

Logged In: YES

This is still a problem. i suspect it can happen with any tag or a comment in the middle of a word.

Imported from sourceforge bug on Tue Dec 10 17:34:12 2013

TagsNo tags attached.
has duplicate 0000408closed  Quotes and apostrophes break text incorrectly 
has duplicate 0002594closed  linebreak at "<" or ">" is wrong 
has duplicate 0002460closed  Non-breaking space breaking 
Attached Files

Richard Porter   
2013-12-24 11:47   
Yes this is still a problem and it still occurs as described above. Lines can be split at any tag or escaped character where there is no white space.
Richard Porter   
2014-02-09 23:43   
Situation unchanged. It's really annoying. Please up the priority.
Vincent Sanders   
2014-02-15 15:39   
This requires the planned new layout engine to fix and has been assigned a target of NetSurf 4.0 to indicate it.
Vincent Sanders   
2018-07-29 10:14   
The layout engine currently allows breaking lines where it ought not to including the situations all the bugs marked as duplicates

Issue History
2013-12-10 17:41Vincent SandersNew Issue
2013-12-10 17:41Vincent SandersStatusnew => assigned
2013-12-10 17:41Vincent SandersAssigned To => Sourceforge Import placeholder
2013-12-24 11:26Vincent SandersURL of problem page =>
2013-12-24 11:26Vincent SandersAssigned ToSourceforge Import placeholder =>
2013-12-24 11:26Vincent SandersStatusassigned => acknowledged
2013-12-24 11:26Vincent SandersCategoryGeneral => Layout
2013-12-24 11:26Vincent SandersTarget Version => 4.0
2013-12-24 11:26Vincent SandersDescription Updatedbug_revision_view_page.php?rev_id=955#r955
2013-12-24 11:26Vincent SandersAdditional Information Updatedbug_revision_view_page.php?rev_id=957#r957
2013-12-24 11:47Richard PorterNote Added: 0000129
2014-02-09 23:43Richard PorterNote Added: 0000219
2014-02-15 15:39Vincent SandersNote Added: 0000243
2018-07-29 10:11Vincent SandersRelationship addedhas duplicate 0000408
2018-07-29 10:12Vincent SandersRelationship addedhas duplicate 0002594
2018-07-29 10:12Vincent SandersRelationship addedhas duplicate 0002460
2018-07-29 10:14Vincent SandersNote Added: 0001787
2018-07-29 10:17Vincent SandersReproducibilityhave not tried => always
2018-07-29 10:17Vincent SandersStatusacknowledged => confirmed