diff --git a/src/dbp-pdf-annotation-view.js b/src/dbp-pdf-annotation-view.js index 5d6e19e52fad5c0dadca506850bbdfaa5a661df6..3805d8e3351ac569e14d2a616c32c172b394390a 100644 --- a/src/dbp-pdf-annotation-view.js +++ b/src/dbp-pdf-annotation-view.js @@ -112,7 +112,7 @@ export class PdfAnnotationView extends ScopedElementsMixin(DBPLitElement) { return false; } - const pattern = new RegExp('[A-Za-z0-9ÄäÖöÜüß\*\\/?! &@()=+_-]*'); + const pattern = new RegExp('[A-Za-z0-9ÄäÖöÜüß*\\/?! &@()=+_-]*'); let matchResult = annotation['value'].match(pattern); if (matchResult[0] === undefined || annotation['value'].length !== matchResult[0].length) { @@ -336,11 +336,11 @@ export class PdfAnnotationView extends ScopedElementsMixin(DBPLitElement) { } /** - * Returns the list of files of annotations of a queued file - * - * @returns {*[]} Array of html templates - */ - getAnnotationsHtml() { + * Returns the list of files of annotations of a queued file + * + * @returns {*[]} Array of html templates + */ + getAnnotationsHtml() { const annotations = this.annotationRows || []; const ids = Object.keys(annotations); let results = [];