-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
See the screenshot below.
Did a little digging and fixed it by adding meta tag to specify encoding where the new document is created in extractReal() from Content.php.
private function extractReal(): void
{
$dom = new \DomDocument('1.0', 'UTF-8');
$content = htmlspecialchars_decode(htmlentities(html_entity_decode(
$this->raw)));
$dom->loadHTML(
"<meta http-equiv='Content-Type' content='charset=utf-8' /><div
>$content</div>",
LIBXML_NOERROR
);
...
Not sure how good of a solution this is. So if you wanna look into it I'd be grateful.
Metadata
Metadata
Assignees
Labels
No labels
