diff options
| author | suntong <[email protected]> | 2023-06-15 17:31:56 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-15 17:31:56 -0400 |
| commit | c8a4f8f1f04e2a6e4f5f916e9a40657c65364d19 (patch) | |
| tree | e18c23ac44ea5a9ac5e71b446e30aa5ea5d437b9 /prop_html2md.go | |
| parent | Update bug-report-template.md (diff) | |
| parent | <br> to newline plugin (diff) | |
| download | html2md-c8a4f8f1f04e2a6e4f5f916e9a40657c65364d19.tar.xz html2md-c8a4f8f1f04e2a6e4f5f916e9a40657c65364d19.zip | |
Merge pull request #16 from ImportTaste/master
<br> to newline plugin
Diffstat (limited to 'prop_html2md.go')
| -rw-r--r-- | prop_html2md.go | 3 |
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()) } |