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.
Regex-based string substitution with Ruby’s gsub!: 123<789".gsub!(/</, "") => "123789"
This paragraph is aligned left but if you add this: p>. to the beginning it will be aligned right.
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.'