fixed markdown image parser