diff --git a/src/theme/book.js b/src/theme/book.js index d40440c7..c8f52cc1 100644 --- a/src/theme/book.js +++ b/src/theme/book.js @@ -11,7 +11,7 @@ function playground_text(playground) { let editor = window.ace.edit(code_block); return editor.getValue(); } else { - return code_block.textContent; + return code_block.innerText; } }