On Wed, Nov 16, 2011 at 1:46 AM, Dmitriy Igrishin <dmit...@gmail.com> wrote:
>
> And what the benefit when comparing
> Wt::WText(Wt::h1, "Parvinder");

I would like it to be like:

Wt::WText(1, "Parvinder");

> with
> Wt::WText("<h1>Parvinder</h1>");
> What if you want to render <h1><b><i>Parvidner</h1></b></i> ?

In that case you type just "1" in place of "<h1>" at start and "</h1>"
at end. It is not the question of displaying text in larger size, bold
and / or italic. How to get look and feel should be left to CSS or
layout. If it about to tell important element like heading (h1),
sub-heading (h2) as in LaTeX.

@ Parvinder

Do you plan to code for this feature or you want just it as your
request to Wt developers?

-- 
H.S.Rai

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to