這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Bold To Strong” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Bold To Strong 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1

  • Handles uppercase B and I elements