Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   Display <attribute> do erroneously encoded, posted by Emiliano Gabrielli on Mon Mar 7 16:05:22 2005 
    icon2.gif   Re: Display <attribute> do erroneously encoded, posted by Stefan Ritt on Mon Mar 14 21:11:11 2005 
Message ID: 982     Entry time: Mon Mar 14 21:11:11 2005     In reply to: 974
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Bug report  OS: All  ELOG Version: rev. 1.51 
Subject: Re: Display <attribute> do erroneously encoded 
> 
> Display subject = <b>$subject</b>
> 
> is printed to the browser encoded, so that it is diplayed as is..

I fixed that in revision 1.587. Note however that you should do the formatting
of attributes better using the CSS functionality, since it gives you more
possibilities. See for example the subject of this forum, which has it's own
CSS class "subjname", which has a larger font size. You select your own class like

Format Subject = 0, subjname, subjvalue

in the configuration file. Then add the classes into the CSS file.

Now elog shows each attribute which contains a "<b>" encoded (as HTML). But if you
want to write a subject line like "For bold use <b> in HTML", then the "<b>"
triggers the HTML display, so it is not written as is, which is not what you want in
that case. Since there is no switch "Submit as HTML text" for the attributes, it is
hard for elog to "guess" if you want HTML encoded or not.
ELOG V3.1.5-fe60aaf