Add plain text detection fix