Skip to content
Permalink
Browse files

Fixed encoding errors for UTF-8 contents

  • Loading branch information...
Ayoola FALOLA
Ayoola FALOLA committed May 20, 2019
1 parent 40d9e14 commit 884ba92006fe95a8ecbd86aa94aebb09eda48c4a
Showing with 2 additions and 1 deletion.
  1. +2 −1 pagecarton/core/library/Ayoola/Abstract/Viewable.php
@@ -1698,7 +1698,8 @@ public function setViewContent( $content = null, $refresh = false )
public function getViewContent()
{
if( null === $this->_viewContent ){ return; } // don't return empty tags
return $this->_viewContent->saveHTML();
$content = html_entity_decode( $this->_viewContent->saveHTML(), ENT_QUOTES,"UTF-8" );
return $content;
}
/**

0 comments on commit 884ba92

Please sign in to comment.
You can’t perform that action at this time.