aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-12-14 13:31:16 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2012-12-14 13:31:16 -0500
commit85248cd63d8f691acfea56540e81564b5248f92c (patch)
tree48494e359898cede2165b14648d2949ba8612c56 /phpBB/includes/message_parser.php
parent6e25b4231e11b8d5a08c5de0b498fb27b8598809 (diff)
parentebe1f5d8dace9c3899432706f21a8dc8403fc350 (diff)
downloadforums-85248cd63d8f691acfea56540e81564b5248f92c.tar
forums-85248cd63d8f691acfea56540e81564b5248f92c.tar.gz
forums-85248cd63d8f691acfea56540e81564b5248f92c.tar.bz2
forums-85248cd63d8f691acfea56540e81564b5248f92c.tar.xz
forums-85248cd63d8f691acfea56540e81564b5248f92c.zip
Merge PR #1142 branch 'nickvergessen/ticket/11250' into develop
* nickvergessen/ticket/11250: [ticket/11250] Use user defined message as incomplete message [ticket/11250] Add tests for simple nesting and code [ticket/11250] Run tests by default and add an option for incomplete ones [ticket/11250] Fix parsing result with special chars [ticket/11250] Add tests for size and attachment [ticket/11250] Fix method names [ticket/11250] Add some comments and fix a description [ticket/11250] Add some more tests for quotes [ticket/11250] Move quote special cases from class to unit tests [ticket/11250] Add parsing tests for our basic bbcodes in simple cases
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r--phpBB/includes/message_parser.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index 1cd2a46fa1..44960dd78d 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -702,17 +702,6 @@ class bbcode_firstpass extends bbcode
{
global $config, $user;
- /**
- * If you change this code, make sure the cases described within the following reports are still working:
- * #3572 - [quote="[test]test"]test [ test[/quote] - (correct: parsed)
- * #14667 - [quote]test[/quote] test ] and [ test [quote]test[/quote] (correct: parsed)
- * #14770 - [quote="["]test[/quote] (correct: parsed)
- * [quote="[i]test[/i]"]test[/quote] (correct: parsed)
- * [quote="[quote]test[/quote]"]test[/quote] (correct: parsed - Username displayed as [quote]test[/quote])
- * #20735 - [quote]test[/[/b]quote] test [/quote][/quote] test - (correct: quoted: "test[/[/b]quote] test" / non-quoted: "[/quote] test" - also failed if layout distorted)
- * #40565 - [quote="a"]a[/quote][quote="a]a[/quote] (correct: first quote tag parsed, second quote tag unparsed)
- */
-
$in = str_replace("\r\n", "\n", str_replace('\"', '"', trim($in)));
if (!$in)