Merge branch 'preview-entities' of git://github.com/mr-vinn/BookStack into mr-vinn-preview-entities
This commit is contained in:
		
						commit
						44f3508171
					
				| 
						 | 
				
			
			@ -25,7 +25,7 @@ class PageContent
 | 
			
		|||
    public function setNewHTML(string $html)
 | 
			
		||||
    {
 | 
			
		||||
        $this->page->html = $this->formatHtml($html);
 | 
			
		||||
        $this->page->text = $this->toPlainText();
 | 
			
		||||
        $this->page->text = html_entity_decode($this->toPlainText());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue