Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraju249 <rajendrakadam249@gmail.com>2019-06-17 10:34:48 +0300
committerraju249 <rajendrakadam249@gmail.com>2019-06-17 10:34:48 +0300
commit077b39283aa612558bcd6c610c698e6a5c95728a (patch)
tree901dda441a7348e6b9caa44485245ab4166f7b59 /lib/gitlab/asciidoc
parenta22719d984d10c251d42be2c2bc909247ce9f488 (diff)
Use same backend name, and remove reduntant use of require
Diffstat (limited to 'lib/gitlab/asciidoc')
-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