2

I am looking for a good library and/or best practice in terms of sanitizing html that is returned from an api call in a vuejs app.

Any suggestions?

Thanks.

1 Answer 1

2

I haven't used it myself, but vue-sanitize looks like it might be nice for you: https://www.npmjs.com/package/vue-sanitize

Sign up to request clarification or add additional context in comments.

1 Comment

I had some time and wrote up a longer explanation here, raymondcamden.com/2019/11/26/sanitizing-html-in-vuejs.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.