I'm building Angular 5 application with Angular Universal. Currently I got a problem with W3C validation. The validator is showing errors on every attribute from Angular core.
For example, for code part like:
<span _ngcontent-c1="" class="sr-only">Toggle</span>
I'm getting error like:
Attribute
_ngcontent-c1
not allowed on elementspan
at this point.
I read about adding before Angular attributes data-
prefix, but on Angular 5 it won't work (I think).
Is there any solution to remove it on server side using Angular Universal, or is there any external tool?