[PAGES-540] Hide warnings when parsing HTML comments Created: 30/Nov/21  Updated: 17/Feb/22  Resolved: 08/Dec/21

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.13

Type: Improvement Priority: Neutral
Reporter: Robert Šiška Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: External SPA
Sprint: HL & LD 41
Story Points: 0

 Description   

Motivation

External Page editor produces warnings every time it encounters an HTML comment, which is not starting with <!-- cms: prefix.

However, most SPA frameworks do insert some HTML comments into DOM, which can produce hundreds of warnings in the browser console (especially in Angular projects).

Since this is not something that user should be warned about, I think we should hide this warning.


Generated at Mon Feb 12 06:19:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.