You might need to declare the XML encoding at the top of the file. Copy the contents of https://raw.githubusercontent.com/discourse/discourse/master/vendor/assets/svg-icons/discourse-additional.svg from core, and replace the symbol tags in it with yours, and see if that works.
pmusaraj
(Penar Musaraj)
17
Verwandte Themen
| Thema | Antworten | Aufrufe | Aktivität | |
|---|---|---|---|---|
| Introducing Font Awesome 5 and SVG icons | 131 | 44536 | 1. Dezember 2023 | |
| How to replace an existing SVG icon with a custom one? | 10 | 766 | 25. März 2021 | |
| Replace Discourse's default SVG icons with custom icons in a theme | 10 | 9475 | 24. Februar 2026 | |
| Font Awesome in text | 1 | 191 | 20. Januar 2025 | |
| Changing icons to Font Awesome Pro Version | 9 | 2675 | 9. Mai 2020 |