-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Problem
The bevy_hui HTML loader was failing with [HTML ERROR][X] of kind Tag errors when parsing component templates. The root cause was improper HTML formatting that created ambiguous tag structures.
The issue occurred due to bad formatting of the tags. Prettier in default setting wasn't properly fixing the formatting.
<text font_size="20" font_color="#ffcc00" margin="0 0 15px 0"
>Building</text
>
quick solution:
use proper formatting
long:
<text
font_size="20"
font_color="#ffcc00"
margin="0 0 15px 0">
Civilizations
</text>
short:
<text font_size="20" font_color="#ffcc00">Civilizations</text>
for possible long term solution
- add possible solution for those kind of parsing errors in the error log output
- allow the library to parse those of html inputs
- perhaps add something to the document?
let me know if you are busy, i can do the above. if not this open issue may allow some other lost soul find why their components are not compiling
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels