Displaying 20 results from an estimated 3000 matches similar to: "Bug with multiple "!!!""
2005 Nov 22
1
Patches?
I have a few of patches for RC.
A quick fix for a bug in clean_html, an improvement to clean_html to
sanitize more links, and the addition of "filter_classes" and
"filter_ids".
What should I do? Email them to someone? why? (sorry, couldn''t avoid it)
I actually don''t have separate patches for each, but could do them if
needed. The first two are
2009 Jun 10
3
Problems 4.2 installing on Windows?
I keep an old Windows machine around for making sure that RedCloth
Win32 binary gems install. When I try gem update RedCloth, it just
installs 4.1.9. Did I do something wrong in the gemspec? Would
someone else with a windows machine try it and let me know how it goes?
Jason
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 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
2008 Feb 21
5
Question about entities
1.) What is everyone''s preference on NCRs or character entities?
Textile 2 uses decimal NCRs, so a less-than character becomes <
whereas RedCloth (3.04 and prior) used <. What is your
preference? It gets tough because ' (a straight single quote)
doesn''t have a character entity equivalent.
2.) How do you feel about encoding characters like quotes
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 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
2011 Jan 19
3
Installing on CentOS
Hi,
I''m trying to install RedCloth on CentOS. It came with ruby 1.8.5
pre-installed so I installed rubygems-1.2.0 since that seemed compatible
(later versions require ruby 1.8.6).
All looks good but when I try:
[root at dev4 rubygems-1.2.0]# gem install RedCloth
ERROR: could not find gem RedCloth locally or in a repository
Can anyone tell me what I''m missing? Do I need to
2008 Mar 15
8
Now what?
> $ rake test
> /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/
> rake-0.7.3/lib/rake/rake_test_loader.rb" "test/test_formatters.rb"
> "test/test_parser.rb"
> Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/
> rake_test_loader
> Started
>
2009 Jun 07
1
Close to a 4.2 release; experimenting with Ragel alternatives
Hi Jason !
Hmmm, this is good and bad news:
Good: ruby hooks means I could use a single pass to parse textile
customizations in zena instead of running two parsers: nice.
Bad: I have just switched to ragel for QueryBuilder to parse pseudo
sql and I fear your shortcomings (if that''s an english phrase).
Could you describe more precisely what you are missing with ragel ?
I''m
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
>>
2007 Aug 23
20
Eliminating bad tests from SuperRedCloth
Hi, all. I haven''t felt at liberty to go axing test cases, but some
of the 33 that are failing now are ones I don''t think we want to pass?
cruft coming from Markdown or made up to fill a gap some years ago.
I''d like to float the proposition that we make Super (and thus
RedCloth 4) behave as identically as possible to Textile2 as working
on
2008 Oct 31
4
RedCloth 4.1.0 released with JRuby support
Sorry it took me a week to release the JRuby version. I was out sick
most of the week.
Thanks a million, Ola Bini, for implementing the Java code!
Give it a go:
Ruby:
gem install RedCloth
JRuby:
jgem install RedCloth
Let me know how it goes for you.
Jason
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
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
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 Nov 23
1
SuperRedCloth inserting <pre><code>
I maintain a web application frozen to version Ruby 1.8.6 and RedCloth 3.0.4
Whenever I insert a newline followed by a white space, SuperRedCloth, wraps the text with <pre><code> tags.
Say for example I write
###############
Hi
This is me
###############
This piece of text gets translated to
<p>Hi</p><pre><code>This is me</code></pre>
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
2006 Mar 24
9
Escaping characters
Hi,
I am writing some help about post formatting. I am using redcloth to
format the text, and in a FAQ, also formatted with redcloth, I explain
what to type to what to obtain.
So, how could I escape ''*'', ''#'' & Co, to have an output like
<redcloth>
Type *word* to obtain <strong>word</strong>
</redcloth>
I tried "Type
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