This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix tests
Well, kinda, it's actually a bug from glitch-soc, but we will have to address it separately.
closed-social-glitch-2
Thibaut Girka
4 years ago
parent
5f61065e74
commit
432033743c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
spec/lib/sanitize_config_spec.rb
+ 1
- 1
spec/lib/sanitize_config_spec.rb
View File
@ -28,7 +28,7 @@ describe Sanitize::Config do
end
it
'keeps a with href'
do
expect
(
Sanitize
.
fragment
(
'<a href="http://example.com">Test</a>'
,
subject
)
)
.
to
eq
'<a href="http://example.com" rel="nofollow noopener noreferrer" target="_blank">Test</a>'
expect
(
Sanitize
.
fragment
(
'<a href="http://example.com">Test</a>'
,
subject
)
)
.
to
eq
'<a href="http://example.com" rel="nofollow noopener
tag
noreferrer" target="_blank">Test</a>'
end
end
end
Write
Preview
Loading…
Cancel
Save