slinky66 / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

Version tags is repository #147

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I link directly to trunk/ version to highlight snippets in my blog. Recently 
all indentation for code snippets in my posts became broken.

It would be much better if I could link to specific tag or branch of code 
prettify.

Original issue reported on code.google.com by techtonik@gmail.com on 2 Apr 2011 at 4:59

GoogleCodeExporter commented 9 years ago
Sorry about the breakage.

I can start putting out version branches.  I committed a fairly significant 
rewrite lately : 
http://groups.google.com/group/js-code-prettifier/browse_thread/thread/98e9beff9
204a1fa?hl=en_US .  What broke with your code snippets?

Original comment by mikesamuel@gmail.com on 2 Apr 2011 at 6:54

GoogleCodeExporter commented 9 years ago
Indentation. I am not sure if it is a prettify bug - the problem can be on a 
Blogger's side, but to be sure I'd better use some particular version.

Original comment by techtonik@gmail.com on 2 Apr 2011 at 7:04

GoogleCodeExporter commented 9 years ago
r142 is the revision before the changes I mentioned.  If you like I can cut a 
branch there.

Would you mind providing a bit more detail about the breakage?  Do you mind 
posting a URL?  If not, do you have a code sample that broke?  Does your 
content contain tabs?  Is it in PRE tags or XMP tags?

Original comment by mikesamuel@gmail.com on 4 Apr 2011 at 4:48

GoogleCodeExporter commented 9 years ago
It is in <code> tag with display:block; style. This post had correct 
indentation - 
http://techtonik.rainforce.org/2010/11/validating-ssl-server-certificate-with.ht
ml and older posts as well.

In the last post I wrapped in <pre> to avoid the errors. It could be the 
Blogger bugs, but I can't test it reliably.

Original comment by techtonik@gmail.com on 4 Apr 2011 at 8:08

GoogleCodeExporter commented 9 years ago
SVN Tags for all previous released versions would be reasonable in any case. 
Just to compare versions and find regressions, and such.

Original comment by peter.codecop.kofler on 15 Apr 2011 at 7:36