You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wow, that’s an interesting one. It looks like the HTML parser that parses .vugu files (which in turn uses golang.org/x/net/html) is ending up with something unexpected in relation to that <p> tag. If you change it from a <p> tag to a <div> everything works as expected. It probably has to do with some obscure thing in the HTML docs about how
tags are only supposed to contain text and so the parser cleans it up in some way - perhaps by moving the div outside of the p, or something. Regardless, this is definitely unexpected behavior from a developer’s perspective. If you can please file an issue that would be helpful. But for an immediate workaround, just use a different tag name.
(From David NG on Slack)
I followed the guide on https://www.vugu.org/doc/files/markup, and gets
./root.go:81:28: undefined: i
for the example code:The text was updated successfully, but these errors were encountered: