diff options
author | James Atkinson <thefinn@users.sourceforge.net> | 2002-03-18 17:46:43 +0000 |
---|---|---|
committer | James Atkinson <thefinn@users.sourceforge.net> | 2002-03-18 17:46:43 +0000 |
commit | 3e2eed6602045abfc9e2bd2583a3c621b8f8ab21 (patch) | |
tree | 3932a2dc6802c736abb8a24c90f4a658ad5844b0 /phpBB/includes/bbcode.php | |
parent | 16763da87f0d8c7b5cb464bebcbe4444268ece89 (diff) | |
download | forums-3e2eed6602045abfc9e2bd2583a3c621b8f8ab21.tar forums-3e2eed6602045abfc9e2bd2583a3c621b8f8ab21.tar.gz forums-3e2eed6602045abfc9e2bd2583a3c621b8f8ab21.tar.bz2 forums-3e2eed6602045abfc9e2bd2583a3c621b8f8ab21.tar.xz forums-3e2eed6602045abfc9e2bd2583a3c621b8f8ab21.zip |
Fixed little bug that made the smilies image tags not XHTML compatible
git-svn-id: file:///svn/phpbb/trunk@2318 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/bbcode.php')
-rw-r--r-- | phpBB/includes/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php index 32a8131040..dd46f94d34 100644 --- a/phpBB/includes/bbcode.php +++ b/phpBB/includes/bbcode.php @@ -742,7 +742,7 @@ function smilies_pass($message) for($i = 0; $i < count($smilies); $i++) { $orig[] = "/(?<=.\\W|\\W.|^\\W)" . phpbb_preg_quote($smilies[$i]['code'], "/") . "(?=.\\W|\\W.|\\W$)/"; - $repl[] = '<img src="'. $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'] . '" alt="' . $smilies[$i]['smile_url'] . '" border="0">'; + $repl[] = '<img src="'. $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'] . '" alt="' . $smilies[$i]['smile_url'] . '" border="0" />'; } if( $i > 0 ) |