[webkit-qt] Could QWebFrame generate simple HTML code?

Coda Highland chighland at gmail.com
Wed Aug 15 19:53:13 PDT 2012

On Wed, Aug 15, 2012 at 5:57 PM, 程梁 <chengliang.soft at 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

More information about the webkit-qt mailing list