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:
Javi Martín
2023-10-15 23:55:02 +02:00
parent 8053cc5e1c
commit 79c1aa0755
3 changed files with 7 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ describe Layout::FooterComponent do
render_inline Layout::FooterComponent.new
page.find(".info") do |info|
expect(info).to have_css "a[rel=nofollow]", count: 2
expect(info).not_to have_css "a[target]"
end
end