From 17fb94881bf648d15d8d09b586d8555c480a2851 Mon Sep 17 00:00:00 2001 From: Fuzzwah Date: Thu, 29 Feb 2024 01:19:12 +0000 Subject: [PATCH] Commonmarker.to_html --- lib/github/markup/markdown.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/github/markup/markdown.rb b/lib/github/markup/markdown.rb index dcf93229..712e86ac 100644 --- a/lib/github/markup/markdown.rb +++ b/lib/github/markup/markdown.rb @@ -7,7 +7,7 @@ class Markdown < Implementation "commonmarker" => proc { |content, options: {}| commonmarker_opts = [:GITHUB_PRE_LANG].concat(options.fetch(:commonmarker_opts, [])) commonmarker_exts = options.fetch(:commonmarker_exts, [:tagfilter, :autolink, :table, :strikethrough]) - CommonMarker.render_html(content, commonmarker_opts, commonmarker_exts) + Commonmarker.to_html(content, commonmarker_opts, commonmarker_exts) }, "github/markdown" => proc { |content, options: {}| GitHub::Markdown.render(content)