From 5c8373dc20f3cef80b00304ec3b9e27fa86346e5 Mon Sep 17 00:00:00 2001 From: JoshyPHP Date: Sat, 26 Dec 2015 17:01:37 +0100 Subject: [PATCH] [ticket/14323] Added comment [ci skip] PHPBB3-14323 --- phpBB/phpbb/textformatter/s9e/autolink_helper.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpBB/phpbb/textformatter/s9e/autolink_helper.php b/phpBB/phpbb/textformatter/s9e/autolink_helper.php index 8fb171f413..81ebc6d029 100644 --- a/phpBB/phpbb/textformatter/s9e/autolink_helper.php +++ b/phpBB/phpbb/textformatter/s9e/autolink_helper.php @@ -18,6 +18,9 @@ class autolink_helper /** * Clean up and invalidate an AUTOLINK_TEXT tag if applicable * + * Will invalidate the tag if its replacement text is the same as the original + * text and would have no visible effect + * * @param \s9e\TextFormatter\Parser\Tag $tag AUTOLINK_TEXT tag * @param \s9e\TextFormatter\Parser $parser Parser * @return bool Whether the tag is valid