Fix "rel" attribute in footer description links
We were accidentally filtering this attribute when sanitizing the text
since commit 928312e21.
This commit is contained in:
@@ -14,4 +14,8 @@ class Layout::FooterComponent < ApplicationComponent
|
||||
def repository_link
|
||||
link_to(t("layouts.footer.consul"), t("layouts.footer.consul_url"), rel: "nofollow")
|
||||
end
|
||||
|
||||
def allowed_link_attributes
|
||||
self.class.sanitized_allowed_attributes + ["rel"]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user