Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 535e805c6f89bba1ec0fbac53b90924d681fdc2f 1 parent 3fe4be4
@hzr hzr authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ecma-debugger/objectinspection.6.0/templates.js
View
4 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 ||
Please sign in to comment.
Something went wrong with that request. Please try again.