Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Recursion loop on prettyPrintOne("") #6

Closed
GoogleCodeExporter opened this issue Apr 22, 2015 · 3 comments
Closed

Recursion loop on prettyPrintOne("") #6

GoogleCodeExporter opened this issue Apr 22, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. call prettyPrintOne("");

What is the expected output? What do you see instead?
Should return an empty string, instead, it hits an infinite recursion loop.

What version of the product are you using? On what operating system?
Revision 20, firefox 2.

Please provide any additional information below.
I am using this package to perform syntax highlighting on code taken from a
dynamic number of textareas, so just calling prettify() doesn't suit my needs.

Original issue reported on code.google.com by stone...@gmail.com on 25 Mar 2007 at 7:23

@GoogleCodeExporter
Copy link
Author

Ack.  Will fix.

Original comment by mikesamuel@gmail.com on 27 Mar 2007 at 6:54

@GoogleCodeExporter
Copy link
Author

Original comment by mikesamuel@gmail.com on 27 Mar 2007 at 6:57

@GoogleCodeExporter
Copy link
Author

I believe this is fixed.

The issue did not occur if the code was called via prettyPrint but should not 
occur
on any path now.

http://google-code-prettify.googlecode.com/svn/trunk/CHANGES.html

Original comment by mikesamuel@gmail.com on 2 Apr 2007 at 6:43

  • Changed state: Fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants