class Redcarpet::Render::Safe

A renderer object you can use to deal with usersโ€™ input. It enables escape_html and safe_links_only by default.

The block_code callback is also overriden not to include the langโ€™s class as the user can basically specify anything with the vanilla one.