Module: nagvis Branch: master Commit: 01e1cc3f90912c0afd543fca8683af40d4336aa1 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=01e1cc3f90912c0afd543fca8683af40d4336aa1
Author: Lars Michelsen <[email protected]> Date: Thu Nov 18 08:54:20 2010 +0100 #393: $ signs are now escaped correctly in json ouput of nagvis core --- .../core/classes/objects/NagVisStatefulObject.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/share/server/core/classes/objects/NagVisStatefulObject.php b/share/server/core/classes/objects/NagVisStatefulObject.php index 76e70df..bb4bd29 100644 --- a/share/server/core/classes/objects/NagVisStatefulObject.php +++ b/share/server/core/classes/objects/NagVisStatefulObject.php @@ -715,7 +715,8 @@ class NagVisStatefulObject extends NagVisObject { return strtr($s, Array("\r" => '<br />', "\n" => '<br />', '"' => '"', - '\'' => '‘')); + '\'' => '‘', + '$' => '$')); } ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
