haml 3.1.0.alpha.28 → 3.1.0.alpha.30

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of haml might be problematic. Click here for more details.

Files changed (4) hide show
  1. data/EDGE_GEM_VERSION +1 -1
  2. data/VERSION +1 -1
  3. data/lib/haml/exec.rb +5 -0
  4. metadata +5 -5
@@ -1 +1 @@
1
- 3.1.0.alpha.28
1
+ 3.1.0.alpha.30
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.0.alpha.28
1
+ 3.1.0.alpha.30
@@ -212,6 +212,11 @@ END
212
212
  @options[:for_engine][:escape_html] = true
213
213
  end
214
214
 
215
+ opts.on('--no-escape-attrs',
216
+ "Don't escape HTML characters (like ampersands and angle brackets) in attributes.") do
217
+ @options[:for_engine][:escape_attrs] = false
218
+ end
219
+
215
220
  opts.on('-q', '--double-quote-attributes',
216
221
  'Set attribute wrapper to double-quotes (default is single).') do
217
222
  @options[:for_engine][:attr_wrapper] = '"'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.alpha.28
4
+ version: 3.1.0.alpha.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2010-10-27 00:00:00 -04:00
13
+ date: 2010-10-31 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -47,10 +47,11 @@ files:
47
47
  - lib/haml.rb
48
48
  - lib/haml/buffer.rb
49
49
  - lib/haml/engine.rb
50
- - lib/haml/error.rb
51
50
  - lib/haml/exec.rb
51
+ - lib/haml/error.rb
52
52
  - lib/haml/filters.rb
53
53
  - lib/haml/helpers.rb
54
+ - lib/haml/util.rb
54
55
  - lib/haml/helpers/action_view_extensions.rb
55
56
  - lib/haml/helpers/action_view_mods.rb
56
57
  - lib/haml/helpers/xss_mods.rb
@@ -60,12 +61,11 @@ files:
60
61
  - lib/haml/template.rb
61
62
  - lib/haml/root.rb
62
63
  - lib/haml/shared.rb
63
- - lib/haml/util.rb
64
+ - lib/haml/compiler.rb
64
65
  - lib/haml/template/options.rb
65
66
  - lib/haml/template/patch.rb
66
67
  - lib/haml/template/plugin.rb
67
68
  - lib/haml/version.rb
68
- - lib/haml/compiler.rb
69
69
  - lib/haml/parser.rb
70
70
  - lib/sass.rb
71
71
  - lib/sass/plugin.rb