Skip to content
This repository has been archived by the owner. It is now read-only.

loading is not an AttrDef #419

Closed
Zhen-hao opened this issue Feb 16, 2022 · 1 comment
Closed

loading is not an AttrDef #419

Zhen-hao opened this issue Feb 16, 2022 · 1 comment

Comments

@Zhen-hao
Copy link
Contributor

I got a valid HTML page traslated to Korolev via https://fomkin.org/korolev/html-to-levsha/
and the result contains

img(
        src := "./images/pair-time.svg",
        alt := "Company Logo",
        loading := "lazy",
        clazz := "w-full h-full cursor-pointer")),

Howeer, loading doesn't seem a value of type AttrDef.
Is there a workaround for this?

@Zhen-hao
Copy link
Contributor Author

I can solve it by adding

AttrDef(levsha.XmlNs.html, "loading")

Feel free to close this one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants