added MARKDOWN_SAFE_MODE setting