We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10ca0bb commit eb4cda4Copy full SHA for eb4cda4
1 file changed
src/app/shared/utils/markdown.pipe.spec.ts
@@ -40,19 +40,19 @@ describe('Markdown Pipe', () => {
40
41
it('should render regular links', async () => {
42
await testTransform(
43
- /*eslint-disable quotemark*/
+ /*eslint-disable @html-eslint/quotemark*/
44
'<a href="https://www.dspace.com">DSpace</a>',
45
'<a href="https://www.dspace.com">DSpace</a>'
46
- /* eslint-enable quotemark */
+ /* eslint-enable @html-eslint/quotemark */
47
);
48
});
49
50
it('should not render javascript links', async () => {
51
52
53
'<a href="javascript:window.alert(\'bingo!\');">exploit</a>',
54
'<a>exploit</a>'
55
56
57
58
0 commit comments