Skip to content
Snippets Groups Projects
Commit d10a55a8 authored by Tögl, Christina's avatar Tögl, Christina
Browse files

Fix linter errors

parent 205c8c64
No related branches found
No related tags found
No related merge requests found
Pipeline #27031 passed
...@@ -112,7 +112,7 @@ export class PdfAnnotationView extends ScopedElementsMixin(DBPLitElement) { ...@@ -112,7 +112,7 @@ export class PdfAnnotationView extends ScopedElementsMixin(DBPLitElement) {
return false; return false;
} }
const pattern = new RegExp('[A-Za-z0-9ÄäÖöÜüß\*\\/?! &@()=+_-]*'); const pattern = new RegExp('[A-Za-z0-9ÄäÖöÜüß*\\/?! &@()=+_-]*');
let matchResult = annotation['value'].match(pattern); let matchResult = annotation['value'].match(pattern);
if (matchResult[0] === undefined || annotation['value'].length !== matchResult[0].length) { if (matchResult[0] === undefined || annotation['value'].length !== matchResult[0].length) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment