Allow rel="license" microformat for machine-readable Creative Commons attribution
requested to merge 20857-allow-rel-license-microformat-in-redcarpet-gfm-sanitization-so-that-machine-readable-creative into master
What does this MR do and why?
We no longer sanitize the rel="license"
attribute from HTML link. This allows license attribution, such as the Creative Commons license
How to set up and validate locally
-
Add this html to a comment or description.
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
-
save it and then verify that
rel="nofollow noreferrer noopener license"
exists in the link, using Inspect Element to view the DOM
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #20857 (closed)
Edited by Brett Walker