Updated regex to manage white space in titles

Addition of `\s*` in some regex in order to have the same behavior as in markmin2html. That is:
    
    # Title
and
    #Title

or:

    ## Title
and
    ##Title
Typo

Fixed subtle typo
Merge pull request #424 from omartrinidad/master

Updated regex to manage white space in titles