From 077b39283aa612558bcd6c610c698e6a5c95728a Mon Sep 17 00:00:00 2001 From: raju249 Date: Mon, 17 Jun 2019 13:04:48 +0530 Subject: [PATCH] Use same backend name, and remove reduntant use of require --- lib/gitlab/asciidoc/html5_converter.rb | 3 +-- 1 file changed, 1 insertion(+), 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