This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Safely auto-link HTML content. | |
* Doesn't double-link existing content. | |
* Plus logging features | |
* @param string $html | |
* @return string | |
*/ | |
function safe_autolink($html) { |