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

程梁 chengliang.soft at gmail.com
Wed Aug 15 17:57:27 PDT 2012


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>.


2012/8/15 Coda Highland <chighland at gmail.com>

> On Tue, Aug 14, 2012 at 8:13 PM, 程梁 <chengliang.soft at gmail.com> wrote:
> > I'm afraid not, for this will return just return
> >
> > hey<div>newline</div>.
> >
> > the tags are still wrong.
> >
> > Maybe I should embed an online HTML WYSIWYG editor...
>
> Afraid I don't understand how those tags are wrong. It should produce
> exactly the same output as you put into it.
>
> /s/ Adam
>



-- 
Cheng Liang <http://about.me/devbean>
Nanjing, China
http://www.devbean.info
from: devbean at devbean.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20120816/7957688d/attachment.html>


More information about the webkit-qt mailing list