includes/wikiengine/Parse/Mediawiki/Heading.php
changeset 832 7152ca0a0ce9
parent 1 fe660c52c48f
equal deleted inserted replaced
831:45e887f23282 832:7152ca0a0ce9
    50     * 
    50     * 
    51     * @see parse()
    51     * @see parse()
    52     * 
    52     * 
    53     */
    53     */
    54     
    54     
    55     var $regex = '/^(={2,6})(.*?)\1(?:\s|$)/m';
    55     var $regex = '/^(={2,6})(.*?)\1(?:[\t ]|$)/m';
    56     
    56     
    57     var $conf = array(
    57     var $conf = array(
    58         'id_prefix' => 'toc'
    58         'id_prefix' => 'toc'
    59     );
    59     );
    60     
    60