Skip to content

Commit

Permalink
Updated email handling with long TLD
Browse files Browse the repository at this point in the history
  • Loading branch information
markseuffert committed Dec 11, 2024
1 parent 9f6f3b5 commit 4cefac2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions system/extensions/update-available.ini
Original file line number Diff line number Diff line change
Expand Up @@ -503,14 +503,14 @@ system/themes/karlskrona.css: karlskrona.css, create, update, careful
system/themes/karlskrona.png: karlskrona.png, create

Extension: Markdown
Version: 0.9.2
Version: 0.9.3
Description: Text formatting for humans.
Developer: Anna Svensson
Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-markdown/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-markdown
DocumentationLanguage: en, de, sv
Published: 2024-07-29 22:19:58
Published: 2024-12-11 10:55:02
Status: available
system/workers/markdown.php: markdown.php, create, update

Expand Down
4 changes: 2 additions & 2 deletions system/extensions/yellow-extension.ini
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ media/downloads/yellow-svenska.pdf: yellow-svenska.pdf, create
./robots.txt: robots.txt, create

Extension: Markdown
Version: 0.9.2
Version: 0.9.3
Description: Text formatting for humans.
Developer: Anna Svensson
Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-markdown/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-markdown
DocumentationLanguage: en, de, sv
Published: 2024-07-29 22:19:58
Published: 2024-12-11 10:55:02
Status: available
system/workers/markdown.php: markdown.php, create, update

Expand Down
4 changes: 2 additions & 2 deletions system/workers/markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Markdown extension, https://github.com/annaesvensson/yellow-markdown

class YellowMarkdown {
const VERSION = "0.9.2";
const VERSION = "0.9.3";
public $yellow; // access to API

// Handle initialisation
Expand Down Expand Up @@ -3881,7 +3881,7 @@ public function doAutoLinks($text) {
$text = preg_replace_callback("/\[\-\-(.*?)\-\-\]/", array($this, "_doAutoLinks_shortcutComment_callback"), $text);
$text = preg_replace_callback("/\:([\w\+\-\_]+)\:/", array($this, "_doAutoLinks_shortcutSymbol_callback"), $text);
$text = preg_replace_callback("/((http|https|ftp):\/\/\S+[^\'\"\,\.\;\:\*\~\s]+)/", array($this, "_doAutoLinks_url_callback"), $text);
$text = preg_replace_callback("/([\w\+\-\.]+@[\w\-\.]+\.[\w]{2,4})/", array($this, "_doAutoLinks_email_callback"), $text);
$text = preg_replace_callback("/([\w\+\-\.]+@[\w\-\.]+\.[\w]+)/", array($this, "_doAutoLinks_email_callback"), $text);
return $text;
}

Expand Down

0 comments on commit 4cefac2

Please sign in to comment.