summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraju249 <rajendrakadam249@gmail.com>2019-06-17 13:04:48 +0530
committerraju249 <rajendrakadam249@gmail.com>2019-06-17 13:04:48 +0530
commit077b39283aa612558bcd6c610c698e6a5c95728a (patch)
tree901dda441a7348e6b9caa44485245ab4166f7b59
parenta22719d984d10c251d42be2c2bc909247ce9f488 (diff)
downloadgitlab-ce-077b39283aa612558bcd6c610c698e6a5c95728a.tar.gz
Use same backend name, and remove reduntant use of require
-rw-r--r--lib/gitlab/asciidoc/html5_converter.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/asciidoc/html5_converter.rb b/lib/gitlab/asciidoc/html5_converter.rb
index f25eeed5169..c4ad3479d23 100644
--- a/lib/gitlab/asciidoc/html5_converter.rb
+++ b/lib/gitlab/asciidoc/html5_converter.rb
@@ -1,13 +1,12 @@
# frozen_string_literal: true
require 'asciidoctor'
-require 'asciidoctor/converter/html5'
module Gitlab
module Asciidoc
class Html5Converter < (Asciidoctor::Converter.for 'html5')
- register_for 'gitlab_html5'
+ register_for 'html5'
def convert_stem(node)
return super unless node.style.to_sym == :latexmath