Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use link for rss #45

Closed
thewilsonator opened this issue Feb 7, 2018 · 1 comment
Closed

cannot use link for rss #45

thewilsonator opened this issue Feb 7, 2018 · 1 comment

Comments

@thewilsonator
Copy link
Contributor

doctype xml
rss(version= '2.0')
    channel
        title Blah
        description A description
        link some.url //"rss.dt(6): Singular HTML element 'link' may not have contents."
        ttl 5
        include items

This is because diet-ng/source/diet/html.d:292 considers link to be a singular element for HTML (which it is) but errors when incorrectly for RSS where it isn't.

@thewilsonator
Copy link
Contributor Author

Thanks!

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

No branches or pull requests

1 participant