aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textformatter
diff options
context:
space:
mode:
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