diff options
| author | Tong Sun <[email protected]> | 2023-05-02 13:27:10 -0400 |
|---|---|---|
| committer | Tong Sun <[email protected]> | 2023-05-02 13:27:10 -0400 |
| commit | f584bf775faa77901bac27e1ab3416c4712544e8 (patch) | |
| tree | caa6405732977f148724cdc762d13f781d45ebbb /html2md_test.go | |
| parent | - [#] only install cloudsmith cli when necessary (diff) | |
| download | html2md-f584bf775faa77901bac27e1ab3416c4712544e8.tar.xz html2md-f584bf775faa77901bac27e1ab3416c4712544e8.zip | |
- [+] add --opt-escape-mode; build with latest; closes #2 #4 #8
Diffstat (limited to 'html2md_test.go')
| -rw-r--r-- | html2md_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/html2md_test.go b/html2md_test.go index a9ed5ae..c8e6507 100644 --- a/html2md_test.go +++ b/html2md_test.go @@ -32,6 +32,10 @@ func TestExec(t *testing.T) { "BoldEscape", "**option src\\_ip**", boldEscape, []string{"-i"}, }, { + "BoldEscapeOff", "**option src_ip**", boldEscape, + []string{"-i", "--opt-escape-mode", "disabled"}, + }, + { "Checkbox", "- [x] Checked!\n- [ ] Check Me!", "<ul><li><input type=checkbox checked>Checked!</li><li><input type=checkbox>Check Me!</li></ul>", []string{"-i", "-G"}, |