site_validator 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/site_validator/page.rb +2 -1
- data/lib/site_validator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfef407ea0593842005d5199cd3eda144332183f
|
4
|
+
data.tar.gz: 1e60ca4dd44c40dd762762cab1c2803ef458230a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7d86cf2c1cfc6ee20a40efbb765e313a26e4884ebe8467a4a40c8b767d2eddc68c1b8dbc4831bffe75abb103cb296480706e416a7ad38dca6198fa2fcc51e98
|
7
|
+
data.tar.gz: 5e4d333cdd64e337877b0b28ac9daf0c00351a647af218f29df93d72a17f001832ac8709a13e2135b561427b893fa76a8a21131415dd1dfe195451cc153ab0c6
|
data/lib/site_validator/page.rb
CHANGED
@@ -73,12 +73,13 @@ module SiteValidator
|
|
73
73
|
end
|
74
74
|
|
75
75
|
##
|
76
|
-
# Prepares the error message explanation, adjusting the feedback
|
76
|
+
# Prepares the error message explanation, adjusting the feedback and docs links
|
77
77
|
def prepare_w3c_explanation(message)
|
78
78
|
explanation = message.explanation
|
79
79
|
|
80
80
|
if explanation
|
81
81
|
explanation.gsub!("feedback.html", "http://validator.w3.org/feedback.html")
|
82
|
+
explanation.gsub!("docs/", "http://validator.w3.org/docs/")
|
82
83
|
explanation.gsub!("our feedback channels", "the W3C feedback channels")
|
83
84
|
explanation.strip!
|
84
85
|
explanation = nil if explanation.size == 0
|