Displaying 1 result from an estimated 1 matches for "codepr".
Did you mean:
coder
2006 Aug 28
0
bug / infinite loop
...\n]*?>)|.*?(?=<\/?\w[^\n]*?>|$)/m
- def glyphs_textile( text, level = 0 )
+ def glyphs_textile( text, level = 50 )
+ if level < 0
+ return
+ end
if text !~ HASTAG_MATCH
pgl text
footnote_ref text
@@ -996,7 +999,7 @@
codepre = 0 if codepre < 0
end
elsif codepre.zero?
- glyphs_textile( line, level + 1 )
+ glyphs_textile( line, level - 1 )
else
htmlesc( line, :NoQuotes )
end