tylerlong / google-code-prettify

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

Python tripled-quoted string ends up prematurely #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Please see
http://code.google.com/p/pyftpdlib/source/browse/tags/release-0.3.0/pyftpdlib/ft
pserver.py?r=479#1220.

What is the expected output?  What do you see instead?
Expected lines 1236-1244 to be colored in green as triple-quoted strings
usually are. Actually those lines are highlighted like normal Python code,
as if the triple-quoted string ended in line 1235.

What version are you using?  On what browser?
Whatever Google Code Hosting is currently using. It's labeled 20080714
(http://www.gstatic.com/codesite/ph/3596478537346627501/js/prettify_20080714.js)
.
I think their version does include the changes from r38. I'll update this
issue when I have more specific information from them.
Browser: Firefox 3.0.5 on Ubuntu 8.04.

Please provide any additional information below.
Starting from line 1236 the inside and outside of triple-quoted strings
seem to have been reversed.

Original issue reported on code.google.com by alexkon on 26 Dec 2008 at 8:45

GoogleCodeExporter commented 9 years ago
Another instance of this problem has been reported at
http://code.google.com/p/support/issues/detail?id=1635.

Original comment by alexkon on 26 Dec 2008 at 8:51

GoogleCodeExporter commented 9 years ago

Original comment by mikesamuel@gmail.com on 6 Jan 2009 at 11:00

GoogleCodeExporter commented 9 years ago

Original comment by mikesamuel@gmail.com on 6 Jan 2009 at 11:01

GoogleCodeExporter commented 9 years ago
Fixed at revision 73.  Will include this in the next minified version I release 
soonish.

Original comment by mikesamuel@gmail.com on 19 May 2009 at 5:25

GoogleCodeExporter commented 9 years ago
Ignore last comment.  It applied to a different issue.

Original comment by mikesamuel@gmail.com on 19 May 2009 at 5:26

GoogleCodeExporter commented 9 years ago
I copied the entire file into my testcase, and it looks fine.  I think this is a
problem with some kind of chunking that code.google.com is doing before invoking
prettify.  I'll follow up on their bug 1635.

Original comment by mikesamuel@gmail.com on 19 May 2009 at 5:11