diff options
Diffstat (limited to 'docs/b.rb')
-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 |