Recognize $ in links.
This commit is contained in:
parent
41ed0a7df9
commit
b88b3ed437
|
@ -1039,7 +1039,7 @@ function html_parse($text)
|
||||||
|
|
||||||
function display_links_in_body($text)
|
function display_links_in_body($text)
|
||||||
{
|
{
|
||||||
preg_match_all('/(https?|ftp|scp|news|gopher|gemini|telnet):\/\/[a-zA-Z0-9.?%=\-\+\;\:\,\~\@\!\(\)\#&_\/]+/', $text, $matches);
|
preg_match_all('/(https?|ftp|scp|news|gopher|gemini|telnet):\/\/[a-zA-Z0-9.?%=\-\+\;\:\,\~\@\!\(\)\$\#&_\/]+/', $text, $matches);
|
||||||
$found = array();
|
$found = array();
|
||||||
$isquote = false;
|
$isquote = false;
|
||||||
if (strpos($text, ">") == 0) {
|
if (strpos($text, ">") == 0) {
|
||||||
|
|
Loading…
Reference in New Issue