Fix for issue 72.

This commit is contained in:
Michel Fortin 2013-04-07 14:00:03 -04:00
parent 18974a53b9
commit 7cb355c91e
2 changed files with 4 additions and 0 deletions

View file

@ -211,6 +211,9 @@ Current Extra:
[linkref]: url "optional title" {#id .class}
* Fixed a PHP notice message triggered when some table column separator
markers are missing on the separator line below column headers.
Extra 1.2.6 (13 Jan 2013):

View file

@ -2743,6 +2743,7 @@ class MarkdownExtra_Parser extends Markdown_Parser {
$head = $this->parseSpan($head);
$headers = preg_split('/ *[|] */', $head);
$col_count = count($headers);
$attr = array_pad($attr, $col_count, '');
# Write column headers.
$text = "<table>\n";