martile 0.1.21 → 0.1.23

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: f2041748986c59e80573413f19a4f0422f3040ef
4
- data.tar.gz: cded8c3be05aa80c54123b26768265747803c43f
3
+ metadata.gz: fc780d757952f4dfdedacf88c2dd79bb6a6721a6
4
+ data.tar.gz: 7482d11a2faaca40582ef04475ee153762e6dcbc
5
5
  SHA512:
6
- metadata.gz: fd7cb35317175c346a65a79781c5155422ce347cfe91666cb7c2ece6e1d8ee0c94f8d3394eb9e3401f39b3c2335454904f242f77abba51bd411977376aacbdf5
7
- data.tar.gz: f4d3f76da66f9ec14354589dee35a8c1fbf8171fd61e70f516f4c6a5a5a9c84f4ab7cd7ecba4857bf73d1bec728d0218b4612046a5d409898ee27a144bf7c1bd
6
+ metadata.gz: 4dfe694422e709bc6d55ebf593ee44a6babb556f5b1c3d2b5b4cbfde0186ab5b6647b1eacf09f893ab20491025fd28ad289647c63cb6bf6a332ed5c352281728
7
+ data.tar.gz: 2120d73b172e4e1d3bb8f6fb73cee57589e233179cc29297add11ed15e6a3b94700c6a15b6bee18397b0c67467712ec852465197e4b9edf488de550c882e1a9e
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -8,6 +8,7 @@ require 'dynarex'
8
8
  require 'rdiscount'
9
9
 
10
10
 
11
+ # bug fix: 01-Mar-2014: Multiple pre tags within a string can now be handled
11
12
  # feature: 12-Oct-2013: escaped the non-code content of <pre> blocks
12
13
  # feature: 04-Oct-2013: angle brackets within <pre><code> blocks are
13
14
  # escaped automatically
@@ -41,7 +42,7 @@ class Martile
41
42
  }.join
42
43
 
43
44
  # escape the content of <pre> tags which doesn't contain the code tag
44
- s2.gsub!(/<(pre)>.*<\/\1>/m) do |x|
45
+ s2.gsub(/<(pre)>[^(?:<\/\1>)]+<\/\1>/m) do |x|
45
46
  s = x[5..-7]
46
47
  if s[/^<code>/] then
47
48
  x
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.1.21
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -10,26 +10,28 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDRDCCAiygAwIBAgIBADANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
13
+ MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
14
  YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTEzMDIwNjIwNTkyM1oXDTE0MDIwNjIwNTkyM1owSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE0MDMwMTE1MTM1N1oXDTE1MDMwMTE1MTM1N1owSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
17
  EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAJPkPwlvLJKWdHW880zLDqnZOftAbp/tZAPbrJOMXqJncbsT3Lr5BJgmHT0o
19
- WKT5Qdr3Z0wr0VB4nbXmTaCB9r+8IK5J5eM/pI7hBfLd6cWlJySQQzToDC6p2Zn3
20
- LloKMGIDn1kfII6HAEXacDS6KL0IHDic0QPPtwUhTIoy7zGKz81gTnTW0agwhbN4
21
- 1+pETkHf117vifsDHxTQpAa/4TZ8UubShCwdP/bQNGOC2HcLqXPrNbr0bW0RUhcY
22
- F3s0WUI3oelFc21E8RvIsOXj+Q8Tw/RCMtHjgRaKpuQMLP7FPit+RuWfsqebp/wX
23
- p/gIjYez3F5dxKJkBUP39x9RqBUCAwEAAaM5M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gkqhkiG9w0BAQUFAAOCAQEAchiKYoxb
27
+ GANuyHDp4XvDEBvUDqYLiI8QzdOUCVK1IjggK+JluGV56OjvCk+dS0bpWQSKDI0A
28
+ lUzj4NOZwAkm2ruXs6gEpVXInDf1ZZ0TlNZyU+jK2cZ0igknaptsIlLdopY8mI3e
29
+ 03XFF0RJYehvRb/7p7hUXduEW3MZdt6xS5gYU09gk8hDAIGBsr4REw2NHOj7RUDR
30
+ d9yujmbsdLOwkY9Yel5ADtzsebPb3fKp2+qG1ojdsQujGbiOIZs7e+T8Q65mPn4W
31
+ YF3JmVOebtMx3b9sXkLX1YyX0fsg59FXvg9CVfAoaG6qjG2Y/okBwMSqqMLQiiao
32
+ aRfEuwOkM9Z+zA==
31
33
  -----END CERTIFICATE-----
32
- date: 2013-10-12 00:00:00.000000000 Z
34
+ date: 2014-03-01 00:00:00.000000000 Z
33
35
  dependencies:
34
36
  - !ruby/object:Gem::Dependency
35
37
  name: rexle-builder
@@ -114,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
116
  version: '0'
115
117
  requirements: []
116
118
  rubyforge_project:
117
- rubygems_version: 2.0.0.rc.2
119
+ rubygems_version: 2.0.14
118
120
  signing_key:
119
121
  specification_version: 4
120
122
  summary: Converts a martile string to html
metadata.gz.sig CHANGED
Binary file