summaryrefslogtreecommitdiff
path: root/spec/features/copy_as_gfm_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-08 19:46:01 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-09 07:50:41 -0600
commit2e040c3ff7046a90ae9687d5a5c1259687be5ff9 (patch)
treee4f633b407efb3c275dcc004d740a5ef27814c7a /spec/features/copy_as_gfm_spec.rb
parent110cd58999abb45f52273f5870fe16a3ad026746 (diff)
downloadgitlab-ce-2e040c3ff7046a90ae9687d5a5c1259687be5ff9.tar.gz
Correctly transform an anchor link to GFM when copying it
Diffstat (limited to 'spec/features/copy_as_gfm_spec.rb')
-rw-r--r--spec/features/copy_as_gfm_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/copy_as_gfm_spec.rb b/spec/features/copy_as_gfm_spec.rb
index f3a5b565122..fec86128d03 100644
--- a/spec/features/copy_as_gfm_spec.rb
+++ b/spec/features/copy_as_gfm_spec.rb
@@ -251,6 +251,8 @@ describe 'Copy as GFM', feature: true, js: true do
'SanitizationFilter',
<<-GFM.strip_heredoc
+ <a name="named-anchor"></a>
+
<sub>sub</sub>
<dl>