Skip to content

Commit

Permalink
Fix: = heading = is a valid MediaWiki syntax
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@282273 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Rodrigo Sampaio Primo committed Jun 16, 2009
1 parent 71a18d4 commit fbb77f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Text/Wiki/Parse/Mediawiki/Heading.php
Expand Up @@ -43,7 +43,7 @@ class Text_Wiki_Parse_Heading extends Text_Wiki_Parse {
* @var string
* @see parse()
*/
var $regex = '/^(={2,6})(.*?)\1(?:\s|$)/m';
var $regex = '/^(={1,6})(.*?)\1(?:\s|$)/m';

var $conf = array(
'id_prefix' => 'toc'
Expand Down

0 comments on commit fbb77f1

Please sign in to comment.