getOptions($options, $cfg['DefaultTransformations']['TextImageLink']); $url = $options[0] . $buffer; /* Do not allow javascript links */ if (! Sanitize::checkLink($url, true, true)) { return htmlspecialchars($url); } return '' . htmlspecialchars($buffer) . ''; } /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ /** * Gets the transformation name of the specific plugin * * @return string */ public static function getName() { return "Image Link"; } }