fix custom bbcode html replacement to correctly replace references
commit23cf68e7fff846e4087f8d8c88ff4856940699a8
authoracydburn <acydburn@89ea8834-ac86-4346-8a33-228a782c2dd0>
Sat, 23 Sep 2006 11:37:05 +0000 (23 11:37 +0000)
committeracydburn <acydburn@89ea8834-ac86-4346-8a33-228a782c2dd0>
Sat, 23 Sep 2006 11:37:05 +0000 (23 11:37 +0000)
treeeb2324d54345b90a166c3876b040a10c55f8f78e
parent46f4edf2776e9f0b059a2e4b972f91851c6937c5
fix custom bbcode html replacement to correctly replace references
It failed if there was a number directly after the token, resulting in $12345, where $1 was needed. Fixed by using ${x}

also made sure that newlines within the html replacement are not replaced with <br />.

git-svn-id: http://code.phpbb.com/svn/phpbb/trunk@6391 89ea8834-ac86-4346-8a33-228a782c2dd0
phpBB/includes/acp/acp_bbcodes.php
phpBB/includes/bbcode.php