| Index: Source/WebCore/inspector/front-end/ObjectPropertiesSection.js
|
| ===================================================================
|
| --- Source/WebCore/inspector/front-end/ObjectPropertiesSection.js (revision 76934)
|
| +++ Source/WebCore/inspector/front-end/ObjectPropertiesSection.js (working copy)
|
| @@ -180,7 +180,13 @@
|
|
|
| this.valueElement = document.createElement("span");
|
| this.valueElement.className = "value";
|
| - this.valueElement.textContent = this.property.value.description;
|
| +
|
| + var description = this.property.value.description;
|
| + // Render \n as a nice unicode cr symbol.
|
| + if (this.property.value.type === "string" && typeof description === "string")
|
| + description = description.replace(/\n/g, "\u21B5");
|
| + this.valueElement.textContent = description;
|
| +
|
| if (this.property.isGetter)
|
| this.valueElement.addStyleClass("dimmed");
|
| if (this.property.value.isError())
|
|
|