Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Fix overzealous escaping of markdown input
Browse files Browse the repository at this point in the history
Fixes  #104.
  • Loading branch information
Jamie Snape committed Apr 2, 2015
1 parent 2d871a4 commit 40785c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/views/helpers/Markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ class Zend_View_Helper_Markdown extends Zend_View_Helper_Abstract
*/
public function markdown($text)
{
return UtilityComponent::markdown(htmlspecialchars($text, ENT_QUOTES, 'UTF-8'));
return UtilityComponent::markdown(htmlspecialchars($text, ENT_COMPAT, 'UTF-8'));
}
}

0 comments on commit 40785c7

Please sign in to comment.