Changeset 248
- Timestamp:
- 02/27/2008 14:46:10 (9 months ago)
- Location:
- branches/superredcloth
- Files:
-
- 2 modified
-
ext/superredcloth_scan/superredcloth_scan.rl (modified) (1 diff)
-
lib/superredcloth.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/superredcloth/ext/superredcloth_scan/superredcloth_scan.rl
r247 r248 30 30 pre_block_start = ( "pre" >A %{ STORE(type) } A C :> "." ( "." %extend | "" ) " "+ ) ; 31 31 bc_start = ( "bc" >A %{ STORE(type) } A C :> "." ( "." %extend | "" ) " "+ ) ; 32 bq_start = ( "bq" >A %{ STORE(type) } A C :> "." ( "." %extend | "" ) " "+ ) ;32 bq_start = ( "bq" >A %{ STORE(type) } A C :> "." ( "." %extend | "" ) ( ":" %A uri %{ STORE(cite) } )? " "+ ) ; 33 33 btype = ( "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div" ) ; 34 34 block_start = ( btype >A %{ STORE(type) } A C :> "." ( "." %extend | "" ) " "+ ) ; -
branches/superredcloth/lib/superredcloth.rb
r238 r248 109 109 def bq_open(opts) 110 110 opts[:block] = true 111 "<blockquote#{pba(opts)}>" 111 cite = opts[:cite] ? " cite=\"#{ opts[:cite] }\"" : '' 112 "<blockquote#{cite}#{pba(opts)}>" 112 113 end 113 114