Permalink
Browse files

Still working on issue #61.

  • Loading branch information...
1 parent 0b48736 commit a06b0f1a5d1104a5be0b6c66ed442c0679d72271 @bobdenotter committed Jan 5, 2013
@@ -72,7 +72,7 @@ function disqus($title="")
$html = str_replace("%title%", $title, $html);
- return $html;
+ return new \Twig_Markup($html, 'UTF-8');
}
@@ -75,7 +75,7 @@ function facebookcomments($title="")
$html = str_replace("%width%", $config['width'], $html);
$html = str_replace("%url%", $app['paths']['canonicalurl'], $html);
- return $html;
+ return new \Twig_Markup($html, 'UTF-8');
}
@@ -83,7 +83,7 @@ function facebookLike()
$html = str_replace("%verb%", $config['verb'], $html);
$html = str_replace("%scheme%", $config['scheme'], $html);
- return $html;
+ return new \Twig_Markup($html, 'UTF-8');
}
@@ -64,7 +64,7 @@ function twitterButton()
$html = str_replace("%via%", $config['via'], $html);
$html = str_replace("%count%", $config['count'], $html);
- return $html;
+ return new \Twig_Markup($html, 'UTF-8');
}

0 comments on commit a06b0f1

Please sign in to comment.