safkass / syntaxhighlighter

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

Unwanted output at the end of the highlighted code (series of <string,>). #141

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Point your browser (FireFox or Chrome - nothing happens with IE) to
this URL: http://gsscoder.blogspot.com/2009/01/commandlinedll-15-sneaky-
bug-introduced.html
2. Point your browser in other posts that use syntaxhightlighter and
the problem don't show itself; like
http://gsscoder.blogspot.com/2009/01/hands-on-code-modify-copy-
directory.html

What is the expected output? What do you see instead?
I was unable to remove this 
</string,></string,></string,></string,>
at the end of the published C# code (I'm using
<pre name="code" class="csharp">...</pre>).
In the template of the blog
  <script class='javascript'>
  //<![CDATA[
  dp.SyntaxHighlighter.BloggerMode();
  dp.SyntaxHighlighter.HighlightAll('code');
  //]]>
  </script>
What version of the product are you using? On what operating system?
I'm using version 1.5.1.
I don't know the OS, I' using your product with 'http://www.blogger.com/'.
The files are hosted in 'http://giacomo.stelluti.googlepages.com'/.

Other info:
I attach the file I'm trying to publish (header #region ... #endregion 
excluded).

Bye! (And thanks for giving to the open source community a wonderful 
product!)

Original issue reported on code.google.com by giacomo....@gmail.com on 19 Jan 2009 at 9:33

Attachments:

GoogleCodeExporter commented 9 years ago
Hi all,
I'm the author of this post... I resolved the problem codifying 'greater' and
'lesser' using (X)HTML rules: '<' changed to '<' and '>' to '>'.
I attach the file with changes that made the blog post works as expected...
I hope nobody of the syntaxhighlighter-team lost too time with my oversight; 
but I
hope this comment will help people that experimented the same problem.

Bye!!!

Original comment by giacomo....@gmail.com on 21 Jan 2009 at 11:15

Attachments:

GoogleCodeExporter commented 9 years ago
Any chance of being able to resolve this within the script so we dont have to 
change
the code to make it work since I am doing some work with C++ Templates at the 
moment
and this will greatly slow me down.

Original comment by GooTo...@googlemail.com on 2 Aug 2009 at 11:00