mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 16:22:44 +00:00
Merge pull request #2860 from G-Ambatte/fixTestFailure-#2859
Fix test failure
This commit is contained in:
@@ -5,7 +5,7 @@ const Markdown = require('naturalcrit/markdown.js');
|
||||
test('Escapes <script> tag', function() {
|
||||
const source = '<script></script>';
|
||||
const rendered = Markdown.render(source);
|
||||
expect(rendered).toMatch('<script></script>');
|
||||
expect(rendered).toMatch('<p><script></script></p>\n');
|
||||
});
|
||||
|
||||
test('Processes the markdown within an HTML block if its just a class wrapper', function() {
|
||||
|
||||
Reference in New Issue
Block a user