Not an issue with tinymce.module as such but more with TinyMCE itself.

<b> is deprecated in new XHTML versions in favour of <strong>.

I'll check the TinyMCE website and see if there are any moves to change it.

Brian.

Comments

matt westgate’s picture

Are you using the CVS version of tinymce? See here for details:

http://asitis.org/tinymce_cvs.zip

The latest CVS version seems to create strong and emphasis tags.

Morbus Iff’s picture

[b] has never been deprecated. XHTML's "elements and their attributes are defined in the W3C Recommendation for HTML 4", and HTML 4 only deprecates [u]. Likewise, the XHTML 1.0 Strict DOCTYPE still supports [i] and [b] as text elements. [b] and [i] HAVE been removed from XHTML 1.1, but they were never deprecated: simply removed entirely. And very few people are serving XHTML 1.1 documents correctly.

Your use of "deprecation" is probably spurred on by "best practice" comments that suggest all inline HTML elements that are formatting related should move to "semantic" or "CSS" equivalencies. Likewise with the push behind web accessibility, where [strong] actually MEANS something to a screen reader. And that's fine. I agree with that. I will not however agree, or support, the spreading of lies regarding the official specs.

I won't fully comment on the similarities between the Microsoft Word formatting toolbar (which quite correctly uses a "bold"ing button to visually bold text on the screen) and TinyMCE, which hopes to replicate that effect while toeing the line between "I actually want this [b] because of its visual appeal" as opposed to "i actually want this emphasied strongly in a screen reader or to a semantic parser."

inteja’s picture

Thanks for setting me straight. I had no intention of "spreading lies".

matt westgate’s picture