From eaffdc281cfd67b297f812611e26114454ee79a9 Mon Sep 17 00:00:00 2001 From: raju249 Date: Mon, 17 Jun 2019 14:54:01 +0530 Subject: Revert to old name as its not needed to change and keep same in both files --- lib/gitlab/asciidoc.rb | 2 +- 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 -- cgit v1.2.1