PHP : Parsea HTML inyectado / Parser HTML inject
Código fuente / Source code :
function parsearHTMLInjectado($texto) { return nl2br( htmlentities($texto) ); }
DZone Snippets > Ricardo > html
12388 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
function parsearHTMLInjectado($texto) { return nl2br( htmlentities($texto) ); }