Should be safer #2
This commit is contained in:
		
							parent
							
								
									cd6bf1c1cf
								
							
						
					
					
						commit
						e9a01c57ce
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								book.php
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								book.php
									
										
									
									
									
								
							|  | @ -123,7 +123,7 @@ class Book extends Base { | ||||||
|         if (!is_null ($se)) { |         if (!is_null ($se)) { | ||||||
|             $addition = $addition . "<strong>" . localize("content.series") . "</strong>" . str_format (localize ("content.series.data"), $this->seriesIndex, $se->name) . "<br />\n"; |             $addition = $addition . "<strong>" . localize("content.series") . "</strong>" . str_format (localize ("content.series.data"), $this->seriesIndex, $se->name) . "<br />\n"; | ||||||
|         } |         } | ||||||
|         if (preg_match ("/<\/(div|p)>/", $this->comment)) |         if (preg_match ("/<\/(div|p|a)>/", $this->comment)) | ||||||
|         { |         { | ||||||
|             return $addition . str_replace ("<br>", "<br />", $this->comment); |             return $addition . str_replace ("<br>", "<br />", $this->comment); | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue