diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-10-12 18:15:54 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-10-12 18:15:54 +0200 |
commit | 687cda367316edb9f84b3e425e76c9e9279e96be (patch) | |
tree | a6b87ff4461639b0ab0fd2919832f38ba2e2df70 /Zotlabs/Module | |
parent | aee396421ad3bbfbabebb252c5b1d75fdd82ec78 (diff) | |
download | volse-hubzilla-687cda367316edb9f84b3e425e76c9e9279e96be.tar.gz volse-hubzilla-687cda367316edb9f84b3e425e76c9e9279e96be.tar.bz2 volse-hubzilla-687cda367316edb9f84b3e425e76c9e9279e96be.zip |
Fix regex to detect URLs in cleanup_bbcode.
This fixes the issue where the text after the URL would be included in
the link if it was immediately followed by a newline.
Example:
https://example.com
this is a test.
Would become:
#^[url=https://example.com_this]https://example.com_this[/url]
is a test
Diffstat (limited to 'Zotlabs/Module')
0 files changed, 0 insertions, 0 deletions