Skip to content

Commit

Permalink
Make W3C and Youtube documentation links clickable (#7721)
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB authored Mar 13, 2022
1 parent ccd23f9 commit aa9f7fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion services/w3c/w3c-validation-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ const documentation = `
</ul>
</p>
<p>
This badge relies on the https://validator.nu/ service to perform the validation. Please refer to https://about.validator.nu/ for the full documentation and Terms of service.
This badge relies on the <a target="_blank" href="https://validator.nu/">https://validator.nu/</a> service to perform the validation.
Please refer to <a target="_blank" href="https://about.validator.nu/">https://about.validator.nu/</a> for the full documentation and Terms of service.
The following are required from the consumer for the badge to function.
<ul class="note">
Expand Down
2 changes: 1 addition & 1 deletion services/youtube/youtube-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { nonNegativeInteger } from '../validators.js'

const documentation = `
<p>By using the YouTube badges provided by Shields.io, you are agreeing to be bound by the YouTube Terms of Service. These can be found here:
<code>https://www.youtube.com/t/terms</code></p>`
<a target="_blank" href="https://www.youtube.com/t/terms">https://www.youtube.com/t/terms</a></p>`

const schema = Joi.object({
pageInfo: Joi.object({
Expand Down

0 comments on commit aa9f7fe

Please sign in to comment.