Skip to content

Commit f57fb39

Browse files
committed
issue DSpace#1404, issue DSpace#1762, issue DSpace#1763 Add support for line breaks, markdown and mathjax in metadata - fix lint issues
1 parent b345b27 commit f57fb39

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

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

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

4141
it('should render regular links', async () => {
4242
await testTransform(
43-
/*eslint-disable quotemark*/
4443
'<a href="https://www.dspace.com">DSpace</a>',
4544
'<a href="https://www.dspace.com">DSpace</a>'
46-
/* eslint-enable quotemark */
4745
);
4846
});
4947

5048
it('should not render javascript links', async () => {
5149
await testTransform(
52-
/*eslint-disable quotemark*/
5350
'<a href="javascript:window.alert(\'bingo!\');">exploit</a>',
5451
'<a>exploit</a>'
55-
/* eslint-enable quotemark */
5652
);
5753
});
5854

0 commit comments

Comments
 (0)