aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textformatter
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-12-26 17:01:37 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-12-26 17:01:37 +0100
commit5c8373dc20f3cef80b00304ec3b9e27fa86346e5 (patch)
tree42697b80715af1bd9097e5b02c2644d905c31c77 /phpBB/phpbb/textformatter
parent791c329e94283cc7fb5462c26e079a362cbd1810 (diff)
downloadforums-5c8373dc20f3cef80b00304ec3b9e27fa86346e5.tar
forums-5c8373dc20f3cef80b00304ec3b9e27fa86346e5.tar.gz
forums-5c8373dc20f3cef80b00304ec3b9e27fa86346e5.tar.bz2
forums-5c8373dc20f3cef80b00304ec3b9e27fa86346e5.tar.xz
forums-5c8373dc20f3cef80b00304ec3b9e27fa86346e5.zip
[ticket/14323] Added comment [ci skip]
PHPBB3-14323
Diffstat (limited to 'phpBB/phpbb/textformatter')
-rw-r--r--phpBB/phpbb/textformatter/s9e/autolink_helper.php3
1 files changed, 3 insertions, 0 deletions
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