X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7f3cb3c6246e6e271761e714cceb081e85a4d245..25aea657e280204f1083a72279a4fb5bd5b521e6:/test/lib/rich_text_test.rb diff --git a/test/lib/rich_text_test.rb b/test/lib/rich_text_test.rb index 8dc9e49b1..8c1205317 100644 --- a/test/lib/rich_text_test.rb +++ b/test/lib/rich_text_test.rb @@ -275,6 +275,11 @@ class RichTextTest < ActiveSupport::TestCase assert_equal "https://example.com/image1.jpg", r.image end + def test_markdown_html_image + r = RichText.new("markdown", "") + assert_equal "https://example.com/img_element.png", r.image + end + private def assert_html(richtext, &block)