We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 534937f commit 62e7f0fCopy full SHA for 62e7f0f
tests/Integration/Helpers/MdToSafeHtmlTest.php
@@ -7,11 +7,11 @@
7
test('converts markdown to safe html', function () {
8
$body = 'Hello, World! .';
9
10
- expect(md_to_html($body))->toBe('<p>Hello, World! <img src="image.png" alt="" />.</p>' . "\n");
+ expect(md_to_html($body))->toBe('<p>Hello, World! <img src="image.png" alt="" />.</p>'."\n");
11
});
12
13
test('prevents unsafe links', function () {
14
$body = "[Unsafe Link](javascript:alert('Hello'))";
15
16
- expect(md_to_html($body))->toBe('<p><a>Unsafe Link</a></p>' . "\n");
+ expect(md_to_html($body))->toBe('<p><a>Unsafe Link</a></p>'."\n");
17
0 commit comments