assert_valid_markup 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/assert_valid_markup.rb +1 -1
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -32,7 +32,7 @@ class Test::Unit::TestCase
32
32
  opts = @@default_avm_options.merge(options)
33
33
 
34
34
  # html5 validation is a special case
35
- opts[:validation_service] = :w3c if fragment =~ /<!DOCTYPE html>/
35
+ opts[:validation_service] = :w3c if fragment =~ /\A\s*<!DOCTYPE html>/
36
36
 
37
37
  result = ''
38
38
  if opts[:validation_service] == :local
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 1
9
- version: 0.6.1
8
+ - 2
9
+ version: 0.6.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matt Conway