martile 0.1.3 → 0.1.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/martile.rb +1 -1
  2. metadata +1 -1
data/lib/martile.rb CHANGED
@@ -52,7 +52,7 @@ class Martile
52
52
 
53
53
  def table_to_html(s)
54
54
  # create any tables
55
- s.gsub!(/\[[^|]+\|[^\n]+\n\|[^\]]+\]/) do |x|
55
+ s.gsub!(/^\[[^|]+\|[^\n]+\n\|[^\]]+\]/) do |x|
56
56
 
57
57
  rows = x.split(/\n/).map{|x| x.split(/[\[\|\]]/).reject(&:empty?)}
58
58
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: martile
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson