summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2018-03-28 00:08:03 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-03-28 00:54:49 +0900
commitee845e48409a91d7aff99faffa26b379bac39ea0 (patch)
treee00aa8350ed2065aafa1b6bf0430b3ffece91aa4 /spec
parente37b1c762f3c24073aa3e09e4e40b8ec071165aa (diff)
downloadgitlab-ce-ee845e48409a91d7aff99faffa26b379bac39ea0.tar.gz
Update asciidoctor to 1.5.6.2
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/asciidoc_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/asciidoc_spec.rb b/spec/lib/gitlab/asciidoc_spec.rb
index 2a0e19ae796..e1782cff81a 100644
--- a/spec/lib/gitlab/asciidoc_spec.rb
+++ b/spec/lib/gitlab/asciidoc_spec.rb
@@ -48,7 +48,7 @@ module Gitlab
},
'images' => {
input: 'image:https://localhost.com/image.png[Alt text" onerror="alert(7)]',
- output: "<img src=\"https://localhost.com/image.png\" alt=\"Alt text\">"
+ output: "<div>\n<p><span><img src=\"https://localhost.com/image.png\" alt='Alt text\" onerror=\"alert(7)'></span></p>\n</div>"
},
'pre' => {
input: '```mypre"><script>alert(3)</script>',