diff options
author | raju249 <rajendrakadam249@gmail.com> | 2019-06-17 14:54:01 +0530 |
---|---|---|
committer | raju249 <rajendrakadam249@gmail.com> | 2019-06-17 14:54:01 +0530 |
commit | eaffdc281cfd67b297f812611e26114454ee79a9 (patch) | |
tree | 5c941f79c66c74815989285e86b0f9639cc54f3e | |
parent | 65ffd689578024c4d381befd3dbe268bb2ac4fbd (diff) | |
download | gitlab-ce-eaffdc281cfd67b297f812611e26114454ee79a9.tar.gz |
Revert to old name as its not needed to change and keep same in both files
-rw-r--r-- | lib/gitlab/asciidoc.rb | 2 | ||||
-rw-r--r-- | lib/gitlab/asciidoc/html5_converter.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/asciidoc.rb b/lib/gitlab/asciidoc.rb index 25d8d6c4514..7f8300a0c2f 100644 --- a/lib/gitlab/asciidoc.rb +++ b/lib/gitlab/asciidoc.rb @@ -33,7 +33,7 @@ module Gitlab end asciidoc_opts = { safe: :secure, - backend: :html5, + backend: :gitlab_html5, attributes: DEFAULT_ADOC_ATTRS, extensions: extensions } diff --git a/lib/gitlab/asciidoc/html5_converter.rb b/lib/gitlab/asciidoc/html5_converter.rb index c4ad3479d23..9f0ae25d9c0 100644 --- a/lib/gitlab/asciidoc/html5_converter.rb +++ b/lib/gitlab/asciidoc/html5_converter.rb @@ -6,7 +6,7 @@ module Gitlab module Asciidoc class Html5Converter < (Asciidoctor::Converter.for 'html5') - register_for 'html5' + register_for 'gitlab_html5' def convert_stem(node) return super unless node.style.to_sym == :latexmath |