Fix crash when parsing markdown list

example file lead to crash: 
https://github.com/jgm/gitit/blob/master/README.markdown