Closed
Description
Description
When opening an Angular application that uses IgxIcon in Firefox, the following error message appears in the developer console:
XML Parsing Error: mismatched tag. Expected: </path>.
Location: https://localhost:4200/
Line Number 1, Column 282:
As a result, the search icon does not appear.
The cause of this issue is that the element in the SVG string of the source code below is not closed correctly. In other SVG icon definitions, the <path>
element is correctly implemented as a self-closing tag.
- igniteui-angular version: 19.1.6
- browser: Moziila Firefox 136.0.4
Steps to reproduce
- Download and extract the zip file, 📦ng-app1.zip, I attached to this post into a working directory.
- Run the
npm ci
andnpm run dev
commands. - Open the Angular app by Firefox.
Result
The error message XML Parsing Error: mismatched tag. Expected: </path>
was shown, and the search icon didn't appear.
Expected result
No error in the developer console, and the search icon should appear correctly.
Attachments
Notes
This problem does not occur on other browsers, such as Google Chrome on macOS, Microsoft Edge on Windows, and Apple Safari on iOS.