changed img tags from html to markdown