1
0
mirror of https://github.com/makeworld-the-better-one/md2gemini synced 2025-04-09 22:39:04 +02:00

New failing test

This commit is contained in:
makeworld 2022-12-30 22:44:33 -05:00
parent aa110ccc57
commit 523463ab20

@ -113,3 +113,31 @@ Text after
""".strip()
assert f(md, links="paragraph") == gem
def test_link_in_quote_newline():
# https://github.com/makeworld-the-better-one/md2gemini/issues/44
md = """
Text before
> quote with newline link in it
>
> [link](https://example.com)
Text after
"""
gem = """
Text before
> quote with newline link in it
>
> link[1]
=> https://example.com 1: https://example.com
Text after
""".strip()
assert f(md, links="paragraph") == gem