Changeset 233
- Timestamp:
- 02/12/2008 09:19:33 (9 months ago)
- Location:
- branches/superredcloth
- Files:
-
- 2 modified
-
ext/superredcloth_scan/superredcloth_scan.rl (modified) (2 diffs)
-
test/threshold.yml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/superredcloth/ext/superredcloth_scan/superredcloth_scan.rl
r224 r233 26 26 notextile_start = "<notextile>" ; 27 27 notextile_end = "</notextile>" ; 28 notextile_line = " " (( default+ ) -- CRLF) CRLF ; 28 29 pre_start = "<pre" [^>]* ">" (space* "<code>")? ; 29 30 pre_end = ("</code>" space*)? "</pre>" ; … … 95 96 96 97 main := |* 98 notextile_line { CAT(block); DONE(block); }; 97 99 notextile_start { ASET(type, notextile); fgoto notextile; }; 98 100 pre_start { ASET(type, notextile); CAT(block); fgoto pre; }; -
branches/superredcloth/test/threshold.yml
r229 r233 436 436 name: complex xhtml blocks 437 437 desc: Textile canât always identify the beginning and end of long or complex blocks of XHTML. To prevent Textile from enclosing complex XHTML blocks in paragraph tags, either use a space at the beginning of each line... 438 in: |- 439 <div> 440 <span>My div</span> 441 </div> 442 out: |- 443 <div> 444 <span>My div</span> 445 </div> 438 in: " <div>\n <span>My div</span>\n </div>" 439 out: " <div>\n <span>My div</span>\n </div>" 446 440 --- 447 441 name: complex xhtml blocks 2