Path in the Gestor bibliotecas/geral.php
It contains only geral_nl2br($string = ''): it returns nl2br($string) when the value is not empty (according to existe()) and the value itself otherwise. It does not escape HTML: for user text, use nl2br(htmlspecialchars($text)).
No core module uses it. It exists for compatibility; in new code, call nl2br() directly.
Registered as geral in bibliotecas-dados (gestor_incluir_biblioteca('geral')).
Functions
Generated from gestor/bibliotecas/geral.php · 1 functions
geral_nl2br
view source · line 22 ↗geral_nl2br(string $string = ''): stringConverte quebras de linha em tags HTML <br>.
Parameters
$stringstring- A string onde as quebras de linha serão convertidas.
Returns