Add better detection of HTML content in book summary.
This commit is contained in:
		
							parent
							
								
									8e32a45f68
								
							
						
					
					
						commit
						62a507de76
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								book.php
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								book.php
									
										
									
									
									
								
							|  | @ -261,7 +261,7 @@ class Book extends Base { | |||
|         if (!is_null ($se) && $withSerie) { | ||||
|             $addition = $addition . "<strong>" . localize("content.series") . "</strong>" . str_format (localize ("content.series.data"), $this->seriesIndex, htmlspecialchars ($se->name)) . "<br />\n"; | ||||
|         } | ||||
|         if (preg_match ("/<\/(div|p|a)>/", $this->comment)) | ||||
|         if (preg_match ("/<\/(div|p|a|span)>/", $this->comment)) | ||||
|         { | ||||
|             return $addition . html2xhtml ($this->comment); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue