Level 24
use a package
Hello,
I am making a forum website where people can write their threads in a CKEDITOR. This editor outputs raw HTML. The HTML is shown using {!! $thread->body !!}.
Whenever someone writes a <script> tag, or an onclick attribute, it gets executed. I would like to prevent this, but still be able to display the HTML output.
What is the best way to handle this?
Please or to participate in this conversation.