Permalink
Browse files

Markdown: decode single quotes in fenced code blocks

  • Loading branch information...
jeherve committed Mar 22, 2014
1 parent c54fc51 commit 9c875fb5577e409c7bb758db37c6d8a69d574c6b
Showing with 1 addition and 1 deletion.
  1. +1 −1 _inc/lib/markdown/gfm.php
@@ -167,7 +167,7 @@ public function codeblock_restore( $text ) {
* @return string Codeblock with unescaped interior
*/
public function do_codeblock_restore( $matches ) {
$block = html_entity_decode( $matches[3] );
$block = html_entity_decode( $matches[3], ENT_QUOTES );
$open = $matches[1] . $matches[2] . "\n";
return $open . $block . $matches[4];
}

0 comments on commit 9c875fb

Please sign in to comment.