aboutsummaryrefslogtreecommitdiff
path: root/prop_html2md.go
diff options
context:
space:
mode:
authorImportTaste <[email protected]>2023-06-14 23:29:25 -0500
committerImportTaste <[email protected]>2023-06-14 23:29:25 -0500
commit082a6fb51863893a955aa3d59bf241224c48fe0b (patch)
treee18c23ac44ea5a9ac5e71b446e30aa5ea5d437b9 /prop_html2md.go
parentUpdate bug-report-template.md (diff)
downloadhtml2md-082a6fb51863893a955aa3d59bf241224c48fe0b.tar.xz
html2md-082a6fb51863893a955aa3d59bf241224c48fe0b.zip
<br> to newline plugin
Diffstat (limited to 'prop_html2md.go')
-rw-r--r--prop_html2md.go3
1 files changed, 3 insertions, 0 deletions
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())
}