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
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Introducing Font Awesome 5 and SVG icons | 131 | 44533 | 2023 年12 月 1 日 | |
| How to replace an existing SVG icon with a custom one? | 10 | 766 | 2021 年3 月 25 日 | |
| Replace Discourse's default SVG icons with custom icons in a theme | 10 | 9475 | 2026 年2 月 24 日 | |
| Font Awesome in text | 1 | 191 | 2025 年1 月 20 日 | |
| Changing icons to Font Awesome Pro Version | 9 | 2674 | 2020 年5 月 9 日 |