diff options
Diffstat (limited to 'Source/WebCore/inspector/front-end/AuditFormatters.js')
-rw-r--r-- | Source/WebCore/inspector/front-end/AuditFormatters.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/inspector/front-end/AuditFormatters.js b/Source/WebCore/inspector/front-end/AuditFormatters.js index 1bc1803..6545dd4 100644 --- a/Source/WebCore/inspector/front-end/AuditFormatters.js +++ b/Source/WebCore/inspector/front-end/AuditFormatters.js @@ -66,7 +66,7 @@ WebInspector.AuditFormatters = { snippet: function(snippetText) { var div = document.createElement("div"); - div.innerText = snippetText; + div.textContent = snippetText; div.className = "source-code"; return div; }, |