Escape HTML entities in console mode, restrict lang autodetect.

HTML content not appearing in console mode due to raw <> chars.