--- d:\home\moriq\public_html\ruby\archive\jien_parser.rb Wed Sep 8 15:12:00 2004
+++ jien_parser.rb Wed Sep 8 15:21:16 2004
@@ -94,8 +94,10 @@
@cur_stack.push( {:e => :listitem_close} )
puts
when /^""(.*)$/
- puts $&
- @cur_stack.push( {:e => :blockquote, :s => $1} )
+ s = $1
+ print '""'
+ puts norm(s)
+ @cur_stack.push( {:e => :blockquote, :s => s} )
when /^:(.+)$/
print ':'
@cur_stack.push( {:e => :definition_list} )
@@ -121,8 +123,10 @@
puts
@cur_stack.push( {:e => :empty} )
when /^\s(.*)/m
- puts $&
- @cur_stack.push( {:e => :pre, :s => $1} )
+ s = $1
+ print ' '
+ puts norm(s)
+ @cur_stack.push( {:e => :pre, :s => s} )
when /^#{TABLE}/
@cur_stack.push( {:e => :table} )
@cur_stack.push( {:e => :table_row_open} )