search for: glyphs_textile

Displaying 3 results from an estimated 3 matches for "glyphs_textile".

2006 Aug 28
0
bug / infinite loop
...------------ next part -------------- --- redcloth.rb.old 2006-08-28 15:13:55.000000000 +0200 +++ redcloth.rb 2006-08-28 15:14:35.000000000 +0200 @@ -980,7 +980,10 @@ HASTAG_MATCH = /(<\/?\w[^\n]*?>)/m ALLTAG_MATCH = /(<\/?\w[^\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...
2006 Sep 04
0
Documentation Error
...cloth.rubyforge.org/ the rule for glyphs is called "inline_textile_glyphs", but every time I tried using that as a rule, I got an error saying "undefine method..." Finally, I looked in the lib/redcloth.rb file in the RecCloth 3.0.4 gem and found that it''s actually "glyphs_textile" not "inline_textile_glyphs". I have edited the rubyonrails.org wiki entry for RedCloth to note this difference between the code and the documentation. --Dylan
2006 Aug 29
0
Several bug-fixes and improvements(?)
...ule twice to TEXTILE_RULES in both cases): TEXTILE_RULES = [:refs_textile, :block_textile_table, :block_textile_lists, :block_textile_defs, :block_textile_prefix, :inline_textile_image, :inline_textile_link, :inline_textile_code, :inline_textile_span, :glyphs_textile, :inline_textile_autolink_urls, :inline_textile_autolink_urls, :inline_textile_autolink_emails, :inline_textile_autolink_emails] # do these twice to accomodate for one space/line diffs This fixes any problems with two URLs appearing with a single space or linebreak between the...