Fix for issue 72.
This commit is contained in:
parent
18974a53b9
commit
7cb355c91e
2 changed files with 4 additions and 0 deletions
|
|
@ -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):
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue