Browse Source

remove the <p> and </p> wrong tags on formatConversation()

pecesama 17 years ago
parent
commit
f861ea764c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      classes/gelato.class.php

+ 3 - 0
classes/gelato.class.php View File

120
 			$formatedText .= "	</li>\n";			
120
 			$formatedText .= "	</li>\n";			
121
 		}
121
 		}
122
 		$formatedText .= "</ul>\n";
122
 		$formatedText .= "</ul>\n";
123
+		// Ugly path fix it ASAP 
124
+		$formatedText = str_replace("<p>","", $formatedText);
125
+		$formatedText = str_replace("</p>","", $formatedText);
123
 		return $formatedText;
126
 		return $formatedText;
124
 	}
127
 	}
125
 	
128