diff options
author | James <git@jamedjo.co.uk> | 2016-09-28 12:46:11 +0100 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-03-06 16:27:49 +0000 |
commit | 00f5cb84d55036542165c756e235619631bc7dee (patch) | |
tree | d2124a1ebb272019ed44351363eed0d9d06c971e /spec/fixtures | |
parent | 0a58a8c8258d26e7f5c782ca1cce8665d230fa83 (diff) | |
download | gitlab-ce-00f5cb84d55036542165c756e235619631bc7dee.tar.gz |
SanitizationFilter allows html5 details and summary (Issue #21605)
Also adds details/summary tags to Copy-as-GFM
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/markdown.md.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/fixtures/markdown.md.erb b/spec/fixtures/markdown.md.erb index f3e7c2d1a9f..0cdbc32431d 100644 --- a/spec/fixtures/markdown.md.erb +++ b/spec/fixtures/markdown.md.erb @@ -79,6 +79,11 @@ As permissive as it is, we've allowed even more stuff: <span>span tag</span> +<details> +<summary>Summary lines are collapsible:</summary> +Hiding the details until expanded. +</details> + <a href="#" rel="bookmark">This is a link with a defined rel attribute, which should be removed</a> <a href="javascript:alert('Hi')">This is a link trying to be sneaky. It gets its link removed entirely.</a> |