Displaying 20 results from an estimated 6000 matches similar to: "redcloth 3.0.4 bug"
2007 Jan 16
1
<BR> and <P> in RedCloth v. Textism
Hi,
I''m using RedCloth right now for some simple markup in a Rails project.
It''s simple and easy - thanks for a great tool!
I have a question about an apparent discrepancy between RedCloth and
Textile, relating to newline characters. I''ve played with the
"hard_breaks" feature and that seems to generate it''s own problems..
If I go onto the Textile
2006 Aug 04
0
Hard break broken in 3.0.4?
Is :hard_break working in RedCloth 3.0.4?
$ ruby -v
ruby 1.8.4 (2005-12-24) [i686-linux]
$ pwd
/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/lib
$ irb
irb(main):001:0> require ''redcloth''
=> true
irb(main):002:0> rc = RedCloth.new("h1. Heading\n\n_Not_ heading.")
=> "h1. Heading\n\n_Not_ heading."
irb(main):003:0>
2007 Apr 25
0
Redcloth bug - Stack overflow in regexp matcher
Hi,
I''ve been using the rassmalog static blogging engine and have
encountered a stack overflow inside the redcloth regexp matcher. I
don''t seem to suffer this error on my Ubuntu (Feisty Fawn) box (with
Ruby 1.8.4??), but I do get it on my Gentoo system. Running the
following line will generate it (I''ve attached the YAML/redcloth file
to this message).
$ ruby -ryaml
2007 Aug 29
0
Patch - bug fix for RedCloth when using !image! and :filter_html in combination
RedCloth.new("!image!", [:filter_html]).to_html will cause the following
error:
"error occurred while evaluating nil.gsub"
This patch will fix it. Can you apply this please to next release of
RedCloth?
Thanks!
Tim
--- redcloth_old.rb 2007-08-29 17:02:51.537099600 -0600
+++ redcloth.rb 2007-08-29 17:04:34.666099600 -0600
@@ -1115,7 +1115,7 @@
2007 Dec 04
2
Bug: NoMethodError: private method `gsub'' called for nil:NilClass
Hi there.
I''m using RedCloth as part of a social network''s blog system.
I came across the following bug when an img tag with the src attribute
is inputted, and filter_html is set to true.
I have pasted the code sample below.
>> require ''RubyGems''
=> true
>> require ''RedCloth''
=> true
>>
2006 Aug 23
0
emdash vs <del>
Hey guys. Is this a bug or what?
>> RedCloth.new("First part -- middle part -- end part.").to_html
=> "<p>First part <del>- middle part -</del> end part.</p>"
But http://textism.com/tools/textile/index.php says the output should
be:
<p>First part—middle part—end part.</p>
Thing is, I *want*
2010 Apr 13
1
BBCode Fork of RedCloth
how do you install this? especially on rails 3? putting
gem "redcloth", :git => "git://github.com/ROFISH/redcloth.git"
doesn''t work.
and do nested tags like [quote][quote][/quote][/quote] work?
--
Posted via http://www.ruby-forum.com/.
2007 Mar 24
0
ignored blocks in redcloth
Hello Redclothians,
In Redcloth, is there syntax to add something to a wiki block that is not
parsed by redcloth? for example:
$permission$
h2. title
* blah
* blah
where $permission$ is ignored by redcloth, so it doesnt affect the rendering
of wiki syntax -> html, but appears when you edit a page (perk for me would
to also have it not appear in the rendered html).
Why would anyone want
2006 May 10
2
hard_breaks
Dear Dressers of RedCloth,
I have a question:
text = "Foo\nBar\n\nBaz"
RedCloth.new(text, [ :hard_breaks ]).to_html
# => "<p>Foo<br />Bar<br />\nBaz</p>"
Shouldn''t that really be "<p>Foo<br />Bar</p><p>Baz</p>"?
So long,
--
Christoffer Sawicki
2008 Mar 10
3
Only 5 tests out of 376 currently failing!
Good news! SuperRedCloth is down to just five failing tests! I was
down to 10 or so in mid-February but then I added test cases from
"The official reference manual for Textile 2", which added 97 new
tests, many of them failing. I''m happy to say, they''re almost all
passing now.
Four of these last five I just need to check with you on before I
deviate from
2007 Jan 23
7
RedCloth and SuperRedCloth
Good day to the parliament of RedCloth followers gathered here.
Grave matters at hand!!
I''m personally quite unhappy with the state of RedCloth and am
reluctant to release the code in the repository. I can''t say if the
code works with any confidence because I can''t generate the
(Poignant) Guide with the current RedCloth. I know some things are
fixed, but I''m
2006 Jun 14
7
CR issue
Hi,
I am using RedCloth (3.0.4).
First using online text2html (http://www.textism.com/tools/textile/) ,
"123
456"
returns <p>123<br />456</p>
But by code:
<code>
require ''RedCloth''
puts RedCloth.new("123\n456").to_html
</code>
I got:
<p>123
456</p>
CR is not taken in consideration. Is there any parameter I am
2011 Jan 13
9
spurious <li> generated when list followed by 3
RedCloth master generates a spurios <li> element when a numbered or undumbered list is followed by three or more newlines.
RedCloth.new("* one\n* two\n* three \n\n\n").to_html
#=> "<ul>\n\t<li>one</li>\n\t<li>two</li>\n\t<li>three</li>\n</ul>\n<li>"
# note extra trailing <li> outside <ul>
A colleague
2008 Nov 06
2
redcloth executable removed from gem?
Hello,
I have the RedCloth 4.x gem installed on a new machine. I used to
use the redcloth command line tool/executable ocassionally. Can anyone
clarify if it''s still part of the RedCloth 4.x gem series? Thanks.
PS: I checked the sources. And the executable source resides in bin
[1]. However, checking the Rakefile that generates the gem package I
can''t find any
2008 May 13
4
hard_breaks issues
Hello,
I''m new to this list, so first of all, many thanks to RedCloth''s
developers, it really helps me in many ruby apps :-)
I post here because I''d like to have a clear view on "hard_breaks"
related issues. I saw old references on the web and on the archives on
this ML, I''d like a fresh view !
It seems that RedCloth 3.0.4 does not handle
2006 May 27
0
:filter_html and :hard_breaks makes <br> ...weird
hi!
never posted to a mailing list before so I hope this
is an appropriate use.
Love redcloth btw!
I guess I just have a bug report though... if I turn
on hard_breaks and filter_html, all the <br />s turn
into <br>s. weird. For now I''m just doing this which
is fine:
textilized = RedCloth.new(text, [ :filter_html,
:hard_breaks ])
return
2007 Mar 21
0
using ''_.'' to indicate table headers doesn''t work in SRC v1.160
I''m using" superredcloth (1.160)
Using ''_.'' to indicate table headers doesn''t work:
$ irb
irb(main):001:0> require ''superredcloth''
=> true
irb(main):005:0> SuperRedCloth.new("|_. name |_. age |_. sex |\n|
joan | 24 | f |\n| archie | 29 | m |\n| bella | 45 | f |\n").to_html
=>
2006 Sep 18
2
RedCloth !image! bug with filter_html
Hi all!
I am trying tu set up RedCloth for user-submitted comments. And here is
my problem. The :filter_html option just breaks images :-(
For example, if I try in irb:
string= "Some textile !agif.gif! and textile again"
RedCloth.new(string, [:filter_html, :filter_styles]).to_html(:textile)
I get:
NoMethodError: You have a nil object when you didn''t expect it!
The error
2008 Mar 23
1
redcloth gem ragel code doesn''t build in jruby
I tried to install RedCloth-3.274 in jruby (trunk) but the install
failed when RedCloth tried to build the C code using mkmf:
I forget whether SuperRedcloth ever did build in JRuby??
I know Hpricot (which also uses ragel which can compile to Java code)
works in JRuby -- with the patch here:
https://code.whytheluckystiff.net/hpricot/ticket/131)
I might be confusing the two ...
FYI: If you
2007 Jul 16
6
Advice regarding extending RedCloth
Hello,
I am in a bit of a bind. I need to reliably parse mediawiki markup to
html, and the only parser that I can find (mediacloth) has a lot to be
desired, so I would like to extend something that works and parse
mediawiki markup. My question to this list is should I start working
on RedCloth or SuperRedCloth or is there a difference as far as
extending them? Also does anyone know of a write up