Bug in Wordpress?

I just noticed that, when editing a post that uses SyntaxHighlighter (that has the tag <pre>) in Visual mode, attribute name="code" gets lost. The attribute needs to be inserted again in HTML mode. Annoying, to say the least, if not downright scary.

This is how theĀ <pre> tag should look like:
<pre name="code" class="c-sharp">

... some code here ...

</pre>

If your source code disappears after you edited it, check, in HTML mode, the attribute name. It is very probable that it was lost in Visual mode.

This entry was posted in Software. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Trackback

  1. By KENNY on July 21, 2010 at 10:19 pm


    MedicamentSpot.com. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. No prescription pills. Order drugs online

    Buy:Lumigan.Accutane.Valtrex.Mega Hoodia.Prednisolone.Petcam (Metacam) Oral Suspension.100% Pure Okinawan Coral Calcium.Retin-A.Zovirax.Zyban.Human Growth Hormone.Arimidex.Actos.Prevacid.Synthroid.Nexium….

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>