On Wed, Aug 15, 2012 at 5:57 PM, 程梁 <chengliang.s...@gmail.com> wrote:
> Say I'm developing a WYSIWYG HTML editor. If I input as
>
> 1st line
> 2nd line
>
> QWebFrame will give me as
>
> 1st line<div>2nd line</div>
>
> But this code could not get the same output in other browsers, for there is
> no
> any new line tag such as <br/> or <p>.

(Please stop top-posting >.> )

<div> is a block-level tag -- that is, it DOES create a new line.

/s/ Adam
_______________________________________________
webkit-qt mailing list
webkit-qt@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-qt

Reply via email to