Skip to content

Commit eb4cda4

Browse files
committed
taskid 93963 Add support for line breaks, markdown and mathjax in metadata - fix lint issues
1 parent 10ca0bb commit eb4cda4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/app/shared/utils/markdown.pipe.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ describe('Markdown Pipe', () => {
4040

4141
it('should render regular links', async () => {
4242
await testTransform(
43-
/*eslint-disable quotemark*/
43+
/*eslint-disable @html-eslint/quotemark*/
4444
'<a href="https://www.dspace.com">DSpace</a>',
4545
'<a href="https://www.dspace.com">DSpace</a>'
46-
/* eslint-enable quotemark */
46+
/* eslint-enable @html-eslint/quotemark */
4747
);
4848
});
4949

5050
it('should not render javascript links', async () => {
5151
await testTransform(
52-
/*eslint-disable quotemark*/
52+
/*eslint-disable @html-eslint/quotemark*/
5353
'<a href="javascript:window.alert(\'bingo!\');">exploit</a>',
5454
'<a>exploit</a>'
55-
/* eslint-enable quotemark */
55+
/* eslint-enable @html-eslint/quotemark */
5656
);
5757
});
5858

0 commit comments

Comments
 (0)