该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Bold To Strong

描述

Converts <b> and </b> to <strong> and </strong>, and <i> and </i> to <em> and </em>. It works in the non-editor view (normal view) of the posts, pages, and comments.

HTML Techniques for Web Content Accessibility Guidelines 2.0 recommends that strong and em should be used to denote emphasis instead of b and i. This is because screen readers (used by blind people, etc. to browse the web) process only strong and em, not b and i.

Additionally, the b and i elements were deprecated in HTML 4.01 and XHTML. This plugin corrects these deprecated tags without modifying your data. (If you uninstall the plugin, your blog works as if this plugin was never installed.)

屏幕截图

  • Some posts, pages, and comments still use b and i tags, unfortunately.
  • When viewed in a web browser like Firefox, it looks the same.
  • However, the HTML source shows that the tags have been converted. E.g., if you are using Firefox, you can go to View > Page Source and see the changes.

安装

Unzip the zip file into the /wp-content/plugins/ directory. Activate the plugin through the ‘Plugins’ menu in WordPress.

常见问题

Can I still use SyntaxHighlighter to post source code with ‘b’ and ‘i’ elements?

Yes. I have tested this plugin, and it is compatible with the SyntaxHighlighter Evolved plugin. If you install the SyntaxHighlighter plugin and you are purposely trying to post HTML code snippets, for example, then b and i tags will not be converted into strong and em tags.

评价

此插件暂无评价。

贡献者及开发者

“Bold To Strong” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Bold To Strong”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1

  • Handles uppercase B and I elements