diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-12-26 17:01:37 +0100 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-12-26 17:01:37 +0100 |
commit | 5c8373dc20f3cef80b00304ec3b9e27fa86346e5 (patch) | |
tree | 42697b80715af1bd9097e5b02c2644d905c31c77 /phpBB/phpbb/textformatter | |
parent | 791c329e94283cc7fb5462c26e079a362cbd1810 (diff) | |
download | forums-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.php | 3 |
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 |