lxzliuxinzhu / syntaxhighlighter

Automatically exported from code.google.com/p/syntaxhighlighter
GNU General Public License v3.0
0 stars 0 forks source link

Doubled CSS attribute on rendering #93

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
syntaxhighlighter artificially double some of CSS code attributes.

Test case:
  <pre name="code" type="css">
  #cornerbanner { 
    top: 1px;
    right: 2px;
    bottom: 3px;
    left: 4px;
  }
  </pre>

Expected output:
  #cornerbanner { 
    top: 1px;
    right: 2px;
    bottom: 3px;
    left: 4px;
  }

Result:
  #cornerbanner { 
    top: 1px;
    rightright: 2px;
    bottombottom: 3px;
    left: 4px;
  }

Version of the product used for testing:
  syntaxhighlighter v1.5.1 in Wordpress 2.6, using Peter Ryan's plugin 
1.5.1 ( http://wordpress.org/extend/plugins/google-syntax-highlighter/ )

This issue was reproductible with following browsers:
  Firefox 2.0.0.16 under Mandrivalinux 2008.1
  Konqueror 3.5.9 under Mandrivalinux 2008.1

Real case example (my blog):

http://kev.coolcavemen.com/2008/06/how-to-add-a-corner-banners-to-a-k2-wordpress
-theme-style/

Original issue reported on code.google.com by kevin.deldycke on 24 Jul 2008 at 9:53