diff --git a/src/main/resources/templates/authentication-action/debug-attribute/index.vm b/src/main/resources/templates/authentication-action/debug-attribute/index.vm index 8f55cb6..36aae25 100644 --- a/src/main/resources/templates/authentication-action/debug-attribute/index.vm +++ b/src/main/resources/templates/authentication-action/debug-attribute/index.vm @@ -128,7 +128,7 @@
- + @@ -161,9 +161,9 @@ } }; - var subjectJSON = document.querySelector('.subject-json').innerText - var contextJSON = document.querySelector('.context-json').innerText - var actionJSON = document.querySelector('.action-json').innerText + var subjectJSON = document.querySelector('.subject-json').textContent + var contextJSON = document.querySelector('.context-json').textContent + var actionJSON = document.querySelector('.action-json').textContent document.querySelector('.json-pretty-subject').innerHTML = library.json.prettyPrint(JSON.parse(`[${subjectJSON}]`)) document.querySelector('.json-pretty-context').innerHTML = library.json.prettyPrint(JSON.parse(`[${contextJSON}]`))