diff --git a/README.md b/README.md
index 06946ca..96dc33c 100644
--- a/README.md
+++ b/README.md
@@ -50,8 +50,8 @@ Overview
php-sudown has two styles: basic and advance.
-*basic*: less exntensiblity, fast rendering.
-*advance*: custmize your own markdown render, little bit slower than basic.
+*basic*: simple, fast rendering.
+*advance*: customize your own markdown render, little bit slower than basic.
### \Sundown::__construct(string $str [, array $config])
@@ -239,7 +239,6 @@ documented at [Render.md](https://github.com/chobie/php-sundown/blob/development
documented at [ExtensionsAndRenderFlags.md](https://github.com/chobie/php-sundown/blob/development/docs/ExtensionsAndRenderFlags.md)
-
Contributors
------------
* Dominic Scheirlinck
diff --git a/package.xml b/package.xml
index caac1d8..43db5be 100644
--- a/package.xml
+++ b/package.xml
@@ -15,9 +15,9 @@ PECL Sundown provides straight forward object oriented Markdown API and customiz
chobieeee@php.net
yes
- 2012-04-20
+ 2012-04-22
- 0.3.2
+ 0.3.3
0.3.0
@@ -26,10 +26,10 @@ PECL Sundown provides straight forward object oriented Markdown API and customiz
PHP
-bumped up 0.3.2
+bumped up 0.3.3
[summary]
- * use no_intra_emphasis instead of no_intraemphasis
+ * fix #16 missing space_after_headers extension
@@ -98,6 +98,24 @@ bumped up 0.3.2
sundown
+
+
+ beta
+ beta
+
+
+ 0.3.2
+ 0.3.0
+
+ 2012-04-20
+
+bumped up 0.3.2
+
+[summary]
+ * use no_intra_emphasis instead of no_intraemphasis
+
+
+
beta
diff --git a/php_sundown.h b/php_sundown.h
index f0362d4..f204870 100644
--- a/php_sundown.h
+++ b/php_sundown.h
@@ -282,7 +282,7 @@ static void php_sundown__get_extensions(HashTable *table, unsigned int *enabled_
extensions |= MKDEXT_LAX_HTML_BLOCKS;
}
- if (SUNDOWN_HAS_EXTENSION("space_after_header")) {
+ if (SUNDOWN_HAS_EXTENSION("space_after_headers")) {
extensions |= MKDEXT_SPACE_HEADERS;
}
diff --git a/tests/004-render-extensions-space_after_headers.phpt b/tests/004-render-extensions-space_after_headers.phpt
new file mode 100644
index 0000000..28afedd
--- /dev/null
+++ b/tests/004-render-extensions-space_after_headers.phpt
@@ -0,0 +1,23 @@
+--TEST--
+check for space_after_headers behavior
+--SKIPIF--
+
+--FILE--
+false));
+echo $a->render($data);
+echo PHP_EOL;
+echo "space_after_headers enabled:\n";
+$a = new Sundown\Markdown(new Sundown\Render\HTML(), array("space_after_headers"=>true));
+echo $a->render($data);
+--EXPECT--
+space_after_headers disabled:
+Level1
+
+space_after_headers enabled:
+#Level1