slimmer 1.1.28 → 1.1.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -119,7 +119,7 @@ module Slimmer
119
119
 
120
120
  def ignorable?(error)
121
121
  ignorable_codes = [801]
122
- ignorable_codes.include?(error.code)
122
+ ignorable_codes.include?(error.code) || error.message.match(/Element script embeds close tag/)
123
123
  end
124
124
 
125
125
  def process(processors,body,template)
@@ -1,3 +1,3 @@
1
1
  module Slimmer
2
- VERSION = '1.1.28'
2
+ VERSION = '1.1.29'
3
3
  end
@@ -17,7 +17,8 @@
17
17
  <% end %>
18
18
  <% end %>
19
19
  <% if artefact.section %>
20
- <li class="related-topic"><a href="/browse/<%= h(artefact.section.parameterize) %>">View more in <span><%= h(artefact.section) %>&rarr;</span></a></li>
20
+ <li class="related-topic"><a href="/browse/<%= h(artefact.section.parameterize) %>"
21
+ >More from the <span><%= h(artefact.section) %></span> section</a></li>
21
22
  <% end %>
22
23
  </ul>
23
24
  </nav>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: slimmer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.28
5
+ version: 1.1.29
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ben Griffiths
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2012-01-27 00:00:00 Z
14
+ date: 2012-01-31 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: nokogiri
@@ -193,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
193
193
  requirements:
194
194
  - - ">="
195
195
  - !ruby/object:Gem::Version
196
- hash: -1857056354475533965
196
+ hash: 582425073
197
197
  segments:
198
198
  - 0
199
199
  version: "0"
@@ -202,14 +202,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
202
  requirements:
203
203
  - - ">="
204
204
  - !ruby/object:Gem::Version
205
- hash: -1857056354475533965
205
+ hash: 582425073
206
206
  segments:
207
207
  - 0
208
208
  version: "0"
209
209
  requirements: []
210
210
 
211
211
  rubyforge_project: slimmer
212
- rubygems_version: 1.8.13
212
+ rubygems_version: 1.8.12
213
213
  signing_key:
214
214
  specification_version: 3
215
215
  summary: Thinner than the skinner