Fixed Ilya Kantor's crash on bad markup, added unit test and bumped version