restore markdown code for images undoing hack