jeanny 0.99.6 → 0.99.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/jeanny/engine.rb +2 -1
  2. metadata +2 -2
data/lib/jeanny/engine.rb CHANGED
@@ -376,6 +376,7 @@ module Jeanny
376
376
 
377
377
  # берем то что в кавычках и разбиваем по пробелам
378
378
  match = $2.split(' ')
379
+ quote = $1
379
380
 
380
381
  # проходимся по получившемуся массиву
381
382
  match.map! do |class_name|
@@ -396,7 +397,7 @@ module Jeanny
396
397
  end.delete_if { |class_name| class_name.nil? or class_name.empty? }
397
398
 
398
399
  unless match.empty?
399
- "class=\"#{match.join(' ')}\""
400
+ "class=#{quote}#{match.join(' ')}#{quote}"
400
401
  else
401
402
  ''
402
403
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeanny
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.6
4
+ version: 0.99.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - gfranco
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-04-07 00:00:00 +03:00
12
+ date: 2010-04-08 00:00:00 +03:00
13
13
  default_executable:
14
14
  dependencies: []
15
15