Permalink
Browse files

Fix for DFL-2944: Expanding Error in REPL throws.

  • Loading branch information...
1 parent 3fe4be4 commit 535e805c6f89bba1ec0fbac53b90924d681fdc2f @hzr hzr committed Mar 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ecma-debugger/objectinspection.6.0/templates.js
@@ -153,7 +153,7 @@
for (var prop = null, i = 0; prop = property_list[i]; i++)
{
value = prop[PROPERTY_VALUE];
- esc_name = helpers.escapeTextHtml(prop[NAME]);
+ esc_name = helpers.escapeAttributeHtml(prop[NAME]);
switch (type = prop[PROPERTY_TYPE])
{
case "number":
@@ -187,7 +187,7 @@
}
short_val = value.length > MAX_VALUE_LENGTH ?
value.slice(0, MAX_VALUE_LENGTH) + '' : '';
- value = helpers.escapeTextHtml(value).replace(/'/g, ''');
+ value = helpers.escapeAttributeHtml(value);
if (short_val)
{
if (!searchterm ||

0 comments on commit 535e805

Please sign in to comment.