added title and alt as allowed tags for images