Page 1 of 1

HTML doc generator -- embedded html in desciption

PostPosted: Tue 25 Sep 2012 16:56
by valade
it would be fine to allow html tags in a description of any objets (class, uc, ...)

Re: HTML doc generator -- embedded html in desciption

PostPosted: Tue 25 Sep 2012 17:39
by Bruno Pagès
Currently the HTML generator protect each character having a special meaning in HTML, typically the character < i produced as &lt;

There are several ways to avoid that :
[*] to add an option to produce the content of the descriptions as they are, without protection
[*] to add an option to search for the HTML tags and to produce them unchanged, in this case a single < will produce &lt; but <i> will produce <i>. Of course this option is more complicated to manage, because this supposes to know all tags ...

What do you prefer ( may be an other way ) ?

However, let's note in my thinking the normal use of the HTML generator is not to use it as it is, but to adapt it to your own needs ;)

Re: HTML doc generator -- embedded html in desciption

PostPosted: Mon 15 Oct 2012 19:02
by Bruno Pagès
The release 6.2 is available and allows through the option -tag to not protect special characters in the description, please refer to the historic for more details