fix(markup): only escape innermost markup

Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
sphericalkat committed 2023-05-29 13:34:42 +05:30
1 parent ce73ad4dfc
commit 8e68c7bcc2
4 files changed
+580 -789

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@
<title>RIP Medium</title>
<script>
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark')
} else {