More failing tests in trunk/test/code.yml


#1

Found another problem:

This:

This paragraph is aligned left but if you add this:
%{color:blue}@p>.@% to the beginning it will be aligned right.

Should produce:

This paragraph is aligned left but if you add this: p>. to the beginning it will be aligned right.

But instead produces:

This paragraph is aligned left but if you add this: p>. to the beginning it will be aligned right.

I feel a little bad just sending list messages about problems but of
course the reason I am is because I was inspired to use RedCloth
because of all the great work you’ve done!

There are now two added tests in the patch below (also attached):

Index: trunk/test/code.yml

— trunk/test/code.yml (revision 284)
+++ trunk/test/code.yml (working copy)
@@ -7,6 +7,15 @@
in: ‘Please type @cat “file.txt” > otherfile.txt@ at the prompt.’
html: ‘

Please type cat “file.txt” > otherfile.txt
at the prompt.

+name: more inlne code escapement
+in: ‘Regex-based string substitution with Ruby’s gsub!:
@“123<789”.gsub!(/</, “”) => “123789”@’
+html: ‘

Regex-based string substitution with Ruby’s gsub!:
123<789".gsub!(/</, “”) => “123789”


±–
+name: inlne code escapement describing textile paragraph styling
+in: ‘This paragraph is aligned left but if you add this:
%{color:blue}@p>.@% to the beginning it will be aligned right.’
+html: ‘

This paragraph is aligned left but if you add this: p>. to the beginning it will
be aligned right.


+or:blue;">p>. to the beginning it will be
aligned right.
±–
name: escaping in blockcode
in: ‘bc. This is within a block of code, so < and > should be
entities. You can talk about a

tag if you wish and
it will be properly escaped.’
html: ‘

This is within a block of code, so < and >
should be entities. You can talk about a <p class=“foo”> tag
if you wish and it will be properly escaped.