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

Commit 40785c7

Browse files
author
Jamie Snape
committed
Fix overzealous escaping of markdown input
Fixes #104.
1 parent 2d871a4 commit 40785c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/views/helpers/Markdown.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ class Zend_View_Helper_Markdown extends Zend_View_Helper_Abstract
2929
*/
3030
public function markdown($text)
3131
{
32-
return UtilityComponent::markdown(htmlspecialchars($text, ENT_QUOTES, 'UTF-8'));
32+
return UtilityComponent::markdown(htmlspecialchars($text, ENT_COMPAT, 'UTF-8'));
3333
}
3434
}

0 commit comments

Comments
 (0)