linky 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/linky/linky.rb +1 -1
  2. metadata +3 -3
data/lib/linky/linky.rb CHANGED
@@ -17,7 +17,7 @@ class Linky
17
17
  block = proc {|keyword| %{<a href="#{target}" #{options}>#{keyword}</a>}}
18
18
  html_fragment = Nokogiri::HTML::DocumentFragment.parse html
19
19
  real_link keyword.to_s, html_fragment, &block
20
- html_fragment.to_html
20
+ html_fragment.to_xhtml
21
21
  end
22
22
 
23
23
  private
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linky
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matt Parker