Escape comments properly in the log view.
Sat Jul 23 21:47:55 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Escape comments properly in the log view.
{
hunk ./darcsweb.cgi 598
- fmt_comment = p.comment.replace('\n', '<br/>') + '\n'
+ comment = escape(p.comment)
+ fmt_comment = comment.replace('\n', '<br/>') + '\n'
hunk ./darcsweb.cgi 627
- 'comment': escape(fmt_comment)
+ 'comment': fmt_comment
}