haml-edge 2.3.7 → 2.3.8

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.
data/EDGE_GEM_VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.7
1
+ 2.3.8
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.7
1
+ 2.3.8
@@ -617,7 +617,7 @@ END
617
617
  return name, [:dynamic, var]
618
618
  end
619
619
 
620
- re = /((?:\\.|\#[^{]|[^#{quote}\\#])*)(#{quote}|#\{)/
620
+ re = /((?:\\.|\#[^{]|[^#{quote}\\#])*#?)(#{quote}|#\{)/
621
621
  content = []
622
622
  loop do
623
623
  return false unless scanner.scan(re)
@@ -421,6 +421,10 @@ HAML
421
421
  HAML
422
422
  end
423
423
 
424
+ def test_new_attrs_with_hash
425
+ assert_equal("<a href='#'></a>\n", render('%a(href="#")'))
426
+ end
427
+
424
428
  # HTML escaping tests
425
429
 
426
430
  def test_ampersand_equals_should_escape
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-edge
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.7
4
+ version: 2.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum