hlt 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/hlt.rb +1 -1
  2. metadata +1 -1
data/lib/hlt.rb CHANGED
@@ -13,7 +13,7 @@ class Hlt
13
13
  s2 = s.gsub(/\n\[[^\]]+\]\n/, " !CODE\n")
14
14
  raw_html = LineTree.new(s2).to_xml
15
15
  html = raw_html.gsub('!CODE').with_index do |x,i|
16
- "\n" + a[i].lines.map{|x| ' ' * 4 + x}
16
+ "\n" + a[i].lines.map{|x| ' ' * 4 + x}.join
17
17
  end
18
18
  @to_html = Rexle.new(html).xml pretty: true
19
19
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: hlt
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson