We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 237d18f + d777b33 commit e189949Copy full SHA for e189949
_plugins/rhg_textile_converter.rb
@@ -13,8 +13,7 @@ def convert(content)
13
# try to enable the <code> syntax of the original RubyForge project,
14
# but not fully.
15
lines = content.lines
16
- lines.map! { |line| line.gsub(RHG_CODE_RE) { "<code>#{$1}</code>" } }
17
- content = lines.join
+ content = lines.map { |line| line.gsub(RHG_CODE_RE) { "<code>#{$1}</code>" } }.join
18
19
# try to apply the style for images of the original book
20
figc = 0
0 commit comments