added MPRE* support

+ a few strings from #139
+ minor cleanup
This commit is contained in:
Shiny Nematoda 2023-08-12 07:58:58 +00:00
parent d673c0d998
commit d4eee69077
11 changed files with 30 additions and 29 deletions

View file

@ -3,7 +3,7 @@ import { useI18n } from '@/stores/misc.js';
import TextModal from './TextModal.vue';
defineProps(['text']);
defineProps({ text: String });
const { t } = useI18n(),
parse = d => new DOMParser().parseFromString(d, 'text/html').body.innerText;