Commit c0ecfc08 authored by David Faure's avatar David Faure
Browse files

QTextDocument: improve import of DIV tags


<div>1<br/></div>2 was inserting two newlines between 1 and 2, while all
tested web browsers only insert one newline - as long as there is nothing
between the <br/> and the </div>.

This was the cause for extra newlines being inserted in KMail when
replying to HTML emails, such as those generated by gmail.

Change-Id: I5145d977701e68913264357bba22780e7cdd3f7d
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@qt.io>
parent 45862976
No related merge requests found
Showing with 27 additions and 5 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment