gitlab-org--gitlab-foss/spec/helpers
Stan Hu 21d89d0286 Update SVG sanitizer to conform to SVG 1.1
Use a custom Loofah scrubber since sanitize 2.x transformers are inadequate
to handle case-sensitive SVG attributes. sanitize parses documents as HTML
instead of XML, which causes all SVG attribute names (e.g. viewBox) to be downcased.

* SVG element list: https://www.w3.org/TR/SVG/eltindex.html
* SVG attribute list: https://www.w3.org/TR/SVG/attindex.html

Closes #14555
2016-05-06 23:20:24 -07:00
..
application_helper_spec.rb
auth_helper_spec.rb
blob_helper_spec.rb Update SVG sanitizer to conform to SVG 1.1 2016-05-06 23:20:24 -07:00
broadcast_messages_helper_spec.rb
ci_status_helper_spec.rb
commits_helper_spec.rb
diff_helper_spec.rb
emails_helper_spec.rb
events_helper_spec.rb
form_helper_spec.rb
gitlab_markdown_helper_spec.rb
graph_helper_spec.rb
groups_helper_spec.rb
icons_helper_spec.rb
import_helper_spec.rb
issues_helper_spec.rb
labels_helper_spec.rb
merge_requests_helper_spec.rb
nav_helper_spec.rb
notifications_helper_spec.rb
page_layout_helper_spec.rb
preferences_helper_spec.rb
projects_helper_spec.rb Sanitize repo paths in new project error message 2016-05-04 14:06:07 -07:00
runners_helper_spec.rb
search_helper_spec.rb
submodule_helper_spec.rb
tab_helper_spec.rb
time_helper_spec.rb
tree_helper_spec.rb
visibility_level_helper_spec.rb