Lines Matching defs:text
32 * Transform a text into a valid HTML id
53 * This is used to transform text that may be interpreted as HTML
54 * into a text
59 * * text that should go in attribute with special HTML characters (such as title)
60 * * text that we don't create (to prevent HTML injection)
69 * @param $text
72 * Note that if the `meta[charset]` matches the text encoding , it should not be encoded
76 public static function encode($text): string
81 * Not {@link htmlentities } htmlentities($text, ENT_QUOTES);
94 return htmlspecialchars($text, ENT_XHTML | ENT_QUOTES | ENT_DISALLOWED);