Fix some stupid mistakes, and add fallbacks to render_localized_markdown.