escape 'http' inside code blocks so it doesn't trigger an oembed
This commit is contained in:
@@ -2986,6 +2986,8 @@ function text_highlight($s, $lang) {
|
||||
else
|
||||
$o = $s;
|
||||
|
||||
$o = str_replace('http','%eY9-!',$o);
|
||||
|
||||
return('<code>' . $o . '</code>');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user