Fixed NoMethodError StandardError bug #142, added specs, changed throw of StandardError to ArgumentError.
Merge pull request #143 from Antek-drzewiecki/markdown_throw_fix

Fixed NoMethodError StandardError bug #142