fix: no handlong invalid url · azu/markdown-function@e800ce0

Original file line numberDiff line numberDiff line change

@@ -3,8 +3,7 @@ import assert from "assert";

33
44

const properties: [actual: MdImgOptions, expected: string][] = [

55

[{ alt: "alt", url: "https://example.com" }, `![alt](https://example.com)`],

6-

[{ url: "https://example.com" }, `![](https://example.com)`],

7-

[{ url: "invalid url", alt: "alt" }, `alt`]

6+

[{ url: "https://example.com" }, `![](https://example.com)`]

87

];

98

describe("mdImg", function () {

109

properties.forEach((property) => {