Changeset 87 for trunk/lib/bluecloth.rb
- Timestamp:
- 09/01/08 15:24:13 (4 months ago)
- Files:
-
- 1 modified
-
trunk/lib/bluecloth.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/bluecloth.rb
r86 r87 131 131 132 132 # The tag-closing string -- set to '>' for HTML 133 EMPTY_ELEMENT_SUFFIX = " />";133 EMPTY_ELEMENT_SUFFIX = " />"; 134 134 135 135 # Table of MD5 sums for escaped characters … … 942 942 943 943 # Pattern to match strong emphasis in Markdown text 944 BoldRegexp = %r{ (\*\*|__) (\S|\S. +?\S) \1 }x944 BoldRegexp = %r{ (\*\*|__) (\S|\S.*?\S) \1 }x 945 945 946 946 # Pattern to match normal emphasis in Markdown text 947 ItalicRegexp = %r{ (\*|_) (\S|\S. +?\S) \1 }x947 ItalicRegexp = %r{ (\*|_) (\S|\S.*?\S) \1 }x 948 948 949 949 ### Transform italic- and bold-encoded text in a copy of the specified +str+
