Fix: block parser now uses regexes for end tags. solves code block case, where end tag must be on a line of its own.
Merge pull request #2650 from Elberet/fix-parser

Fix: block parser uses regexes for stop tags, allows stricter matching