Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Set proper quote style when decoding
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshi2889 <[email protected]>
  • Loading branch information
NanoSector committed Aug 25, 2017
1 parent 3bd2582 commit 25d7c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backends/LinkTitle.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function tryParseTitleFromBuffer(string $buffer)
if (preg_match("/\<title\>(.*)\<\/title\>/i", $buffer, $matches) == false)
return false;

return htmlspecialchars_decode(trim($matches[1]));
return htmlspecialchars_decode(trim($matches[1]), ENT_QUOTES);
}

/**
Expand Down

0 comments on commit 25d7c93

Please sign in to comment.