Fixed escaping of characters and text
Added 'raw' mode and example