From 082a6fb51863893a955aa3d59bf241224c48fe0b Mon Sep 17 00:00:00 2001 From: ImportTaste <53661808+ImportTaste@users.noreply.github.com> Date: Wed, 14 Jun 2023 23:29:25 -0500 Subject:
to newline plugin --- prop_html2md.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'prop_html2md.go') diff --git a/prop_html2md.go b/prop_html2md.go index 26d4632..0d80e53 100644 --- a/prop_html2md.go +++ b/prop_html2md.go @@ -98,6 +98,9 @@ func handleOptions(opt *md.Options, rootArgv *rootT) *md.Options { } func handlePlugins(conv *md.Converter, rootArgv *rootT) *md.Converter { + if rootArgv.PluginBrToNewline { + conv.Use(BrToNewline()) + } if rootArgv.PluginConfluenceAttachments { conv.Use(plugin.ConfluenceAttachments()) } -- cgit v1.2.3