Ticket #40: bluecloth_remove_shiftjis.diff

File bluecloth_remove_shiftjis.diff, 396 bytes (added by deveiant, 2 years ago)

Strip unnecessary 'x' flag from Regexps

  • bluecloth.rb

    old new  
    951951            )?              # title is optional 
    952952          \) 
    953953        ) 
    954       }xs #" 
     954      }x #" 
    955955 
    956956 
    957957    # Reference-style images 
     
    962962            (?:\n[ ]*)?     # One optional newline + spaces 
    963963            \[ (.*?) \]     # id = $3 
    964964        ) 
    965       }xs 
     965      }x 
    966966 
    967967    ### Turn image markup into image tags. 
    968968    def transform_images( str, rs )