nbell12 / google-code-prettify

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

broken handling of docstring comments with quotes in them (python) #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
URL: http://code.google.com/p/cachalot/source/browse/trunk/app.py

This snippet of code seems around line 118 seems to trigger the failure:

def loggedin(method):
  """Asserts that a known user is logged in.  If they aren't, we redirect
them to
  the login page (if they aren't logged in) or to a "you can't come to our
  party" page if they are logged in but unknown to us.  The wrapped method can
  assume that the user is an acceptable person.
  """

Note the double-quote and single quote in the comment.

Original issue reported on code.google.com by dcoker on 21 Apr 2008 at 10:15

GoogleCodeExporter commented 8 years ago
Duplicates bug 29

Original comment by mikesamuel@gmail.com on 5 Jul 2008 at 3:55