bug-50-fix.diff

Patch to fix - Alex Cartwright, 2008-11-04 15:17

Download (671 Bytes)

 
application/libraries/Editor/class_editor_mediawiki.php (working copy)
196 196
							$inside_p = true;
197 197
							$line = '<p>'.$line;
198 198
						}
199
					} else if ( $inside_p === true ) {
200
						$inside_p = false;
201
						$line = '</p>'.$this->do_quotes( $line );
199
					} else {
200
						if ( $inside_p === true ) {
201
							$line = '</p>'.$line;
202
						}					
203
						$line = $this->do_quotes( $line );
202 204
					}
203 205
				}
204 206
				$parsed_lines[] = $line;