Title: [opsview] [5319] Fixed italics and bold text formatting in host comments
- Revision
- 5319
- Author
- dferguson
- Date
- 2010-11-05 11:16:00 +0000 (Fri, 05 Nov 2010)
Log Message
Fixed italics and bold text formatting in host comments
Stop single quotes being quoted automatically as this breaks text formatting
Modified Paths
Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES 2010-11-05 01:00:11 UTC (rev 5318)
+++ trunk/CHANGES 2010-11-05 11:16:00 UTC (rev 5319)
@@ -79,6 +79,7 @@
Fixed UTF8 encoding from Nagios CGIs returned through Opsview
Fixed visual glitch of background image on forms with a long amount of data
Fixed 2 small Nagios CGI bugs
+ Fixed italics and bold text formatting in host comments
WARNINGS:
There are some manual post install tasks required. See
Modified: trunk/opsview-web/lib/Opsview/Web/Controller/Info.pm
===================================================================
--- trunk/opsview-web/lib/Opsview/Web/Controller/Info.pm 2010-11-05 01:00:11 UTC (rev 5318)
+++ trunk/opsview-web/lib/Opsview/Web/Controller/Info.pm 2010-11-05 11:16:00 UTC (rev 5319)
@@ -45,7 +45,9 @@
$html =~ s/\>/\>/g;
$html =~ s/\</\</g;
$html =~ s/\"/\"/g;
- $html =~ s/\'/'/g;
+
+ # disable quoting of ' as breaks italics & bold formatting
+ # $html =~ s/\'/'/g;
$c->response->body( Opsview::Wiki->convert_to_html($html) );
}
_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins