diff options
author | guy Decoux <ts@moulon.inra.fr> | 2009-02-28 20:09:29 +0100 |
---|---|---|
committer | guy Decoux <ts@moulon.inra.fr> | 2009-02-28 20:09:29 +0100 |
commit | fa598d05504f6dd43e29e0f93a3f25d254ebd7c0 (patch) | |
tree | 7ecbeaf86a0a418342596d95a45f91f5fc2b01c8 /docs | |
parent | a181d44ee4b78d7e016cf5b9e8fd5591723615bd (diff) | |
download | mmap-ruby-fa598d05504f6dd43e29e0f93a3f25d254ebd7c0.zip mmap-ruby-fa598d05504f6dd43e29e0f93a3f25d254ebd7c0.tar.gz |
mmap-0.1.9
Diffstat (limited to 'docs')
-rwxr-xr-x | docs/b.rb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,7 +11,8 @@ end def normalize(text) norm = text.gsub(/\(\(\|([^|]+)\|\)\)/, '<em>\\1</em>') - norm.gsub(/\(\(\{/, '<tt>').gsub!(/\}\)\)/, '</tt>') + norm.gsub!(/\(\(\{/, '<tt>') + norm.gsub!(/\}\)\)/, '</tt>') norm.gsub!(/\(\(<([^|>]+)[^>]*>\)\)/, '<em>\\1</em>') norm.gsub!(/^\s*:\s/, ' * ') norm |