import { createApp } from 'vue'; import App from './App.vue'; import VueDOMPurifyHTML from 'vue-dompurify-html'; const app = createApp(App); app.use(VueDOMPurifyHTML); app.mount('#app');In your SFC:<template> <div v-dompurify-html="rawHtml"></div> </template> <script setup>...
.github examples packages/vue-dompurify-html .gitignore .prettierignore .prettierrc LICENSE README.md SECURITY.md eslint.config.mts package.json pnpm-lock.yaml pnpm-workspace.yaml shell.nix tsconfig.json turbo.json vue-dompurify-html Packages ...
v-html="0"innerHTML returns"0" but DOMPurify.sanitize(0) // "" so v-dompurify-html="0"innerHTML returns"" this be considered normal behavior? Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment...
"name": "vue-dompurify-html-example-vue3", "private": true, "dependencies": { "vue": "3.4.29", "vue": "3.4.30", "vue-dompurify-html": "workspace:*" }, "devDependencies": { 2 changes: 1 addition & 1 deletion 2 packages/vue-dompurify-html/package.json Original file line numb...
Safe replacement for the v-html directive. Contribute to LeSuisse/vue-dompurify-html development by creating an account on GitHub.
"import": "./dist/vue-dompurify-html.es.js", "require": "./dist/vue-dompurify-html.umd.js" } }, "repository": { "type": "git", "url": "https://github.com/LeSuisse/vue-dompurify-html.git" }, "bugs": { "url": "https://github.com/LeSuisse/vue-dompurify-html/issues" },...
@@ -0,0 +1,4 @@ ##Reporting a security issue If you have found a vulnerability affecting`vue-dompurify-html`please report it via the [GitHub Security Advisories feature](https://github.com/LeSuisse/vue-dompurify-html/security/advisories)....
Safe replacement for the v-html directive. Contribute to LeSuisse/vue-dompurify-html development by creating an account on GitHub.
When using thev-dompurify-htmldirective, there is an error: VueDompurifyHtml version: 2.3.0 TypeError: dompurify_1.sanitize is not a function at updateComponent (webpack-internal:///./node_modules/vue-dompurify-html/dist/dompurify-html.js:39:32) at callHook$1 (webpack-internal:///./node...
LeSuisse / vue-dompurify-html Public Sponsor Notifications Fork 24 Star 302 Code Issues 3 Pull requests 2 Actions Security Insights New issue chore: Bump nixpkgs pin #3445 Merged LeSuisse merged 1 commit into main from bump-nixpkgs-pin-march25 Mar 9, 2025 ...