Changeset 87 for trunk/lib/bluecloth.rb

Show
Ignore:
Timestamp:
09/01/08 15:24:13 (4 months ago)
Author:
deveiant
Message:
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/bluecloth.rb

    r86 r87  
    131131 
    132132    # The tag-closing string -- set to '>' for HTML 
    133     EMPTY_ELEMENT_SUFFIX = "/>"; 
     133    EMPTY_ELEMENT_SUFFIX = " />"; 
    134134 
    135135    # Table of MD5 sums for escaped characters 
     
    942942 
    943943    # Pattern to match strong emphasis in Markdown text 
    944     BoldRegexp = %r{ (\*\*|__) (\S|\S.+?\S) \1 }x 
     944    BoldRegexp = %r{ (\*\*|__) (\S|\S.*?\S) \1 }x 
    945945 
    946946    # Pattern to match normal emphasis in Markdown text 
    947     ItalicRegexp = %r{ (\*|_) (\S|\S.+?\S) \1 }x 
     947    ItalicRegexp = %r{ (\*|_) (\S|\S.*?\S) \1 }x 
    948948 
    949949    ### Transform italic- and bold-encoded text in a copy of the specified +str+