Displaying 20 results from an estimated 3000 matches similar to: "Warnings on tests"
2005 Nov 16
4
RedCloth repository moved to SVN
I''ve been getting increasing resistance from helpers who prefer
Subversion over CVS. I feel that it''s slowing down development. So,
done. Mailing lists, releases, news will still be at Rubyforge. Bug
tracking will likely move to the new repository soon as well.
The new repository is at: http://code.whytheluckystiff.net/
Checkout RedCloth from
2007 Jan 24
14
Strikethroughs and dashes
Who really uses strikethroughs?? This is one of the most common
tripwires in RedCloth.
You are the friend--the only friend--who has offered to help.
Obviously em dashes.
I died in -2006- wait, no, two-thousand-FIVE!
Obviously strikethrough.
I''m going on a trip - a long one - to the Virgin Islands.
That''s got to be en dashes.
Such a cheap, no-hassle, no-worry
2005 Nov 21
4
Code blocks
Oh yes, also I added a shortcut for code blocks. Instead of
<pre><code>, you can surround it with three backticks (```).
- Lucas
http://rufy.com/
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
2007 Jan 28
1
^SUPER^ _RED_ ~CLOTH~ 1.153
New gems (source and win32):
gem install superredcloth --source http://code.whytheluckystiff.net
Use it like:
SuperRedCloth.new("_huh?_").to_html
Okay, getting close! A lot more tests are passing. There are still
about 50 tests failing. Most of these are due to ol/ul list
problems.
Here''s what''s still broken:
* Options (:hard_breaks, :filter_html, etc.)
*
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
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
>
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
2006 Jun 25
1
brief svn download and install instructions?
Could someone please give some instructions for downloading, building,
and installing redcloth from svn?
To retrieve it, I''ve tried the basic:
svn checkout svn+ssh://code.whytheluckystiff.net/svn/redcloth
and
svn checkout svn+ssh://anonymous at code.whytheluckystiff.net/svn/redcloth
but I just get a connection refused message.
Thanks,
---John
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
2007 Mar 24
3
Patch for superredcloth to enable textile table headers
SuperRedCloth v1.160 and svn rev 163 don''t work the textile commands
that specify table headers instead of table data.
Here''s a simple test:
require ''superredcloth''
w = "|_. a|_. b|_. c|\n|1|2|3|"
h = SuperRedCloth.new(w).to_html
puts h
<table>
<tr>
<td>_. a</td>
2005 Nov 21
3
New code: proposed release?
So I just wanted to review what most of my new code does for those
who are not familiar with it yet.
======
The biggest feature of my work is the docbook export. This means that
any valid textile markup can be exported to the docbook standard. I
added a new chapter tag to go along with the export.
ch. 1. Here is the title
In HTML, this will produce:
<h1>1. Here is the
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
2006 Oct 03
4
! camping 1.5 + markaby 0.5
Not too different from their corresponding last releases, but documentation
has been filled in for both.
To upgrade:
gem install camping --source code.whytheluckystiff.net
And, here is a complete changelog:
== Camping 1.5
* Camping::Apps stores an array of classes for all loaded apps.
* bin/camping can be given a directory. Like: <tt>camping examples/</tt>
* Console mode -- thank
2006 Mar 27
5
RedCloth and Rails
Has anyone had any experience with RedCloth for rails. It is a textile
system. I haven''t spot checked the code and was wondering if it caused
any lockups or other issues.
http://whytheluckystiff.net/ruby/redcloth/
--
Berlin Brown
(ramaza3 on freenode)
http://www.newspiritcompany.com
also checkout alpha version of botverse:
http://www.newspiritcompany.com:8086/universe_home
2006 Jul 18
3
+ camping 1.4.138
Just up:
gem install camping --source code.whytheluckystiff.net
The changes:
* Both bin/camping and Camping::FastCGI.serve now act according to the
Camping Server specification.[1]
* Docs are complete.
_why
[1] https://code.whytheluckystiff.net/camping/wiki/TheCampingServer
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>
2006 Jun 16
3
shortcut for full url as the linktext?
Is there a shortcut for this:
"http://foo.com":http://foo.com
?
Thanks,
---John
2006 Jun 05
3
possible bug in trunk base.rb? BREAK_RE.
Hello All, first post to the list.
I just checked out trunk and it broke my tests.
Turns out that the BREAK_RE regex found in base.rb is missing the "/m"
mode modifier.
I am still getting my head around the library so i may be missing
something but was that done on purpose?
Thanks.
jeremy
Index: base.rb
===================================================================
--- base.rb