Displaying 12 results from an estimated 12 matches similar to: "Only 5 tests out of 376 currently failing!"
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 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
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.)
*
2011 Jan 23
2
RedCloth 4.1.1 vs. 4.2.3 - weird behaviour with notextile
For a community project I aim to combine RedCloth and Coderay and on doing
this, I might have found an issue with RedCloth.
I pushed a demo to Github:
https://github.com/markusproske/redcloth_coderay_demo
The index (http://localhost:3000/) demonstrates the issue.
In brief:
A page consist of textile. The textile contains @@@ruby somecode @@@
The textile is first feed into Coderay via a helper
2007 Mar 09
3
Transformation order
I see that the well-defined order for transforming a page to HTML is:
- Transform the content using the content converter
...
- Replace tags
I think it should be the other way around.
I wrote this plugin that transform
{flickr: <url of the photo>}
into something like:
<div> Foto, caption, etc. </div>
Now, because of the order of transformations, the
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 Sep 06
1
<pre> tag content now parsed by redcloth?
Hi,
Thanks for all the help so far. I''ve almost got my site upgraded. A
few more problems, which I''ll address in separate threads.
So, I had <pre> tags in several places which contained code - yaml,
ERB, etc. Previously, these were all ignored - passed through
verbatim and not parsed by webgen. Now, they appear to be parsed.
First, How should I do the equivalent of a
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
2009 Jun 05
0
<notextile> bug
Hey, and thanks for a great RedCloth!
I have however stumbled upon a very weird bug. Have a look at this Textile
file: https://gist.github.com/c75681ce99f8c2515ee6. I have two
<notextile>-tags inside, but it still escapes single-quote to ‘ in the
first <notextile>-block, but not the last... Any reason why this would
happen?
//Magnus Holm
-------------- next part
2006 Jul 24
0
New configuration format, parser, libupsconfig and upsconfig : some news ^_^
Hello nut-upsdev !
It's me again !
Since my last email about the new formalism for NUT configuration files, no
objection was drawn.
I propose then to make official this new formalism. Here can be find the
grammar of the formalism :
http://opensource.mgeups.com/projects/nut-config/grammar.od
I made a parser for the new formalism and put sample files and a test
program on my branch (JD-NewConf
2007 Feb 04
0
SuperRedCloth 1.160
Okay, update:
gem install superredcloth --source http://code.whytheluckystiff.net
Or:
http://code.whytheluckystiff.net/dist/superredcloth-1.160.tgz
This one has better list, table and <notextile> support. I am close
to releasing a SuperRedCloth on Rubyforge, so PLEASE! help me test
this out by trying it on your personal wikis and blogs.
Still to be done:
* support for
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