martile 0.5.9 → 0.5.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6993a5008608ef83318ef029bc266cf569510e8
4
- data.tar.gz: bf36bb0378cb415afeac3eb0764a4865ad5b96b4
3
+ metadata.gz: c59da8fa9b9fff57c84a2503ed684788a6a81082
4
+ data.tar.gz: 4a3438a8ad32b5efa66021b584529b2e4c37ddd0
5
5
  SHA512:
6
- metadata.gz: 948a4ccc6aef9d4bdf43888bf0b661030655d2e0d28c62cd38ade8d3bccd7d4950aedea87b5c2bdc7e96c197282ddf4fe5bd8bb68fd89f8e6c5ab759eb7aba0b
7
- data.tar.gz: 38c592d09c88a25ca8e5b057bd4af134cc78d2c8af7fb97f7b9523ca92392718bcfec59d12759a4b293898b4e47dcbd1db9a67e35c39e2d26543a6759683cdbb
6
+ metadata.gz: e8c12768f2e1a0e84e31c315e0aba359efc4d8e6a7eade158e3ceb21e712cdee0c91ee61d9041d22aa359531df57d7fa223d02ca8322d69fd06ea19b4c2c477a
7
+ data.tar.gz: 116f466348f178fa3c9a866d20521d6170c17f34063ff708c7271f3d2f526d825bffb3a4fcb1fcd1bd67fc05ba99d597c104faede165144784135903f94539b6
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/martile.rb CHANGED
@@ -8,9 +8,11 @@ require 'dynarex'
8
8
  require 'rdiscount'
9
9
 
10
10
 
11
- # bug fix: 28-Mar-2015: Fixes a bug introduced on the 20-Mar-2015 relating to
12
- # Markdown lists not neing converted to HTML
11
+ # bug fix: 28-Mar-2015: Fixes a bug introduced on the 20-Mar-2015 relating to
12
+ # Markdown lists not being converted to HTML
13
13
  # see http://www.jamesrobertson.eu/bugtracker/2015/mar/28/markdown-lists-are-not-converted-to-html.html
14
+ # improvement: A space is now appended to the unicode checkbox to
15
+ # separate it from the text
14
16
  # feature: 21-Mar-2015: URLS are now given labels e.g.
15
17
  # [news](http://news.bbc.co.uk)<span class='domain'>[bbc.co.uk]</span>
16
18
  # bug fix: 20-Mar-2015: HTML and XML elements should not be filtered out of
@@ -238,7 +240,7 @@ class Martile
238
240
  # convert square brackets to unicode check boxes
239
241
  # replaces a [] with a unicode checkbox,
240
242
  # and [x] with a unicode checked checkbox
241
- s2 = s.gsub(/\s\[\s*\]\s/,' &#9744;').gsub(/\s\[x\]\s/,' &#9745;')
243
+ s2 = s.gsub(/\s\[\s*\]\s/,' &#9744; ').gsub(/\s\[x\]\s/,' &#9745; ')
242
244
 
243
245
  s2.gsub(/(?:^\[|\s\[)[^\]]+\]\((https?:\/\/[^\s]+)/) do |x|
244
246
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: martile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file