feature: add dash renderer

This commit is contained in:
Prof. Dr. Matthias Jung DL9MJ
2024-12-08 10:14:10 +01:00
parent 746f18e735
commit bedab8faa8
2 changed files with 25 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import mistletoe
from renderer.fifty_ohm_html_renderer import FiftyOhmHtmlRenderer
from test.util import paragraph
def test_dash_html() :
assertions = {
"Foo - Bar" : "Foo – Bar",
}
for assertion in assertions:
assert mistletoe.markdown(assertion, FiftyOhmHtmlRenderer) == paragraph(assertions[assertion])