diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index d76058f8..ae02d99a 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -91,12 +91,12 @@
const copybutton = document.createElement('button');
copybutton.classList.add('copy-code');
- copybutton.innerText = '{{- i18n "code_copy" | default "copy" }}';
+ copybutton.innerHTML = '{{- i18n "code_copy" | default "copy" }}';
function copyingDone() {
- copybutton.innerText = '{{- i18n "code_copied" | default "copied!" }}';
+ copybutton.innerHTML = '{{- i18n "code_copied" | default "copied!" }}';
setTimeout(() => {
- copybutton.innerText = '{{- i18n "code_copy" | default "copy" }}';
+ copybutton.innerHTML = '{{- i18n "code_copy" | default "copy" }}';
}, 2000);
}