diff --git a/dmp-frontend/src/app/ui/navbar/navbar.component.scss b/dmp-frontend/src/app/ui/navbar/navbar.component.scss index 0d3206b6a..c4515f9e4 100644 --- a/dmp-frontend/src/app/ui/navbar/navbar.component.scss +++ b/dmp-frontend/src/app/ui/navbar/navbar.component.scss @@ -43,6 +43,7 @@ $mat-card-header-size: 40px !default; color: #000000; opacity: 1; cursor: pointer; + text-decoration: none !important; } .faq-title:hover, diff --git a/dmp-frontend/src/app/ui/user-guide-editor/user-guide-editor.component.ts b/dmp-frontend/src/app/ui/user-guide-editor/user-guide-editor.component.ts index 29936386e..67a53a805 100644 --- a/dmp-frontend/src/app/ui/user-guide-editor/user-guide-editor.component.ts +++ b/dmp-frontend/src/app/ui/user-guide-editor/user-guide-editor.component.ts @@ -66,7 +66,7 @@ export class UserGuideEditorComponent extends BaseComponent implements OnInit { const reader = new FileReader(); reader.addEventListener('load', () => { let result = this.parseText(reader.result as string); - result = result.replace(/class="href" path="/g, 'href="#'); + //result = result.replace(/class="href" path="/g, 'href="#'); this.formGroup.get('html').patchValue(result); }, false); reader.readAsText(data); @@ -74,7 +74,7 @@ export class UserGuideEditorComponent extends BaseComponent implements OnInit { submit() { let result = this.parseText(this.formGroup.get('html').value); - result = result.replace(/href="#/g, 'class="href" path="'); + //result = result.replace(/href="#/g, 'class="href" path="'); this.formGroup.get('html').patchValue(result); this.userGuideService.updateUserGuide(this.formGroup.value).pipe(takeUntil(this._destroyed)) .subscribe(