From 25ec7ee14626877b0e55f61b39fd7c41049de190 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sun, 21 Dec 2008 19:51:37 -0500 Subject: Fixed many HTML validation errors --- includes/bbcode.php | 10 +++++----- includes/smilies.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'includes') diff --git a/includes/bbcode.php b/includes/bbcode.php index 69e89e3..c381f3c 100755 --- a/includes/bbcode.php +++ b/includes/bbcode.php @@ -35,8 +35,8 @@ class BBCode $this->bbcodes['u'] = '{CONTENT}'; $this->bbcodes['url'] = '{CONTENT}'; $this->bbcodes2['url'] = '{CONTENT}'; - $this->bbcodes['img'] = ''; - $this->bbcodes2['img'] = '{PARAM}'; + $this->bbcodes['img'] = ''; + $this->bbcodes2['img'] = '{PARAM}'; $this->bbcodes['big'] = '{CONTENT}'; $this->bbcodes['small'] = '{CONTENT}'; $this->bbcodes['ul'] = ''; @@ -51,8 +51,8 @@ class BBCode $this->bbcodes2['bquote'] = '

{CONTENT}
{PARAM}
'; $this->bbcodes2['abbr'] = '{CONTENT}'; $this->bbcodes['hidden'] = '{CONTENT}'; - $this->bbcodes['thumb'] = ''; - $this->bbcodes['thumb2'] = ''; + $this->bbcodes['thumb'] = ''; + $this->bbcodes['thumb2'] = ''; $this->init = true; } @@ -95,7 +95,7 @@ class BBCode } } - return str_replace('[br]','
',$to_parse); + return str_replace('[br]','
',$to_parse); } } diff --git a/includes/smilies.php b/includes/smilies.php index c0a4297..7001705 100755 --- a/includes/smilies.php +++ b/includes/smilies.php @@ -44,7 +44,7 @@ class Smilies foreach ($this->smilies as $name => $value) { - $text = str_replace($name, '' . $name . '', $text); + $text = str_replace($name, '' . $name . '', $text); } return $text; -- cgit 1.4.1