Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Bold To Strong

Beskrivning

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.)

Skärmdumpar

  • 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.

Installation

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

Vanliga frågor

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.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Bold To Strong” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Bold To Strong” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.1

  • Handles uppercase B and I elements