Support the ongoing development of Laravel.io →
Security Input Views
Last updated 2 years ago.
0

You can always use strip_tags to remove the unwanted variables, or your could encode the stuff they have, then decode it on the way out... there are a number of things that you can do for this.

As for the "small" text that you want, you kind of have two options, you can give them a "summary" section that only allows a number of characters, or strip_tags everything and output just plain text for that summary.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

joaogl joaogl Joined 4 Aug 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.