Recognize $ in links.

This commit is contained in:
Retro_Guy 2024-03-20 08:18:22 -07:00
parent 41ed0a7df9
commit b88b3ed437
1 changed files with 1 additions and 1 deletions

View File

@ -1039,7 +1039,7 @@ function html_parse($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();
$isquote = false;
if (strpos($text, ">") == 0) {