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 cab754d commit b4eaca1Copy full SHA for b4eaca1
src/test/markupParser.test.ts
@@ -22,7 +22,7 @@ suite("markupParser Tests", function () {
22
23
test("Test render headers", function () {
24
const testFile = vscode.Uri.file(path.join(__dirname, "../../src/test/testfiles/nix/scoped/headings.confluence"));
25
- const expected = '<h1>Heading 1</h1><br /><h2>Heading 2</h2><br /><h3>Heading 3</h3><br /><h4>Heading 4</h4><br /><h5>Heading 5</h5><br /><h6>Heading 6</h6><br />'
+ const expected = '<p><h1>Heading 1</h1></p><p><h2>Heading 2</h2></p><p><h3>Heading 3</h3></p><p><h4>Heading 4</h4></p><p><h5>Heading 5</h5></p><p><h6>Heading 6</h6></p>'
26
const content = fs.readFileSync(testFile.fsPath, 'utf8');
27
assert.equal(parseMarkup(testFile, content), expected);
28
});
0 commit comments