chobie/php-sundown — Issue #9: Extension is activated even if set to false
Author: kwattro
Created: 2012-02-18 20:19:51+00:00
State: open

Hi,

First of all thanks for your work.

I've integrated your wrapper into a Symfony Bundle.

I have an issue when specifying the extensions to be activated, if I set an extension to false in the array passed to the Sundown\Markdown constructor, the extension is still activated.

````
$enabled_extensions = array(
'autolink' => false);
$md = new Sundown\Markdown(new \Sundown\Render\HTML, $enabled_extensions);
$var = "http://www.mysite.com";
echo $md->render($var);
````
This will still `autolink` the given var.

Grtz