diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index a12b10c401..e09b01c763 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -788,7 +788,7 @@ function smilies_pass($message)
for($i = 0; $i < count($smilies); $i++)
{
$orig[] = "'\B" . preg_quote($smilies[$i]['code']) . "\B'sxi";
- $repl[] = '\1
\2';
+ $repl[] = '
';
}
if($i > 0)