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

Parse error in html tags without closing tag #6

Open
flip111 opened this issue Feb 7, 2020 · 4 comments
Open

Parse error in html tags without closing tag #6

flip111 opened this issue Feb 7, 2020 · 4 comments

Comments

@flip111
Copy link

flip111 commented Feb 7, 2020

For example https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input

<input type="text" id="name" name="name" required minlength="4" maxlength="8" size="10">

Result

Expected EOF

But with closing slash (not required in html, but optional)

<input type="text" id="name" name="name" required minlength="4" maxlength="8" size="10" />

Result

[ HH.input [ HP.type "text", HP.id_ "name", HP.name "name", HP.required "", HP.minlength "4", HP.maxlength "8", HP.size "10" ] ]
@maackle
Copy link
Owner

maackle commented Feb 7, 2020

Thank you for all the suggestions, they're all good ideas. I wrote this tool as a simple way to bootstrap Purescript UIs from existing HTML, and it is certainly not robust or complete. I don't intend to maintain this repo any further.

@maackle maackle closed this as completed Feb 7, 2020
@flip111
Copy link
Author

flip111 commented Feb 7, 2020

ya no worries, i just wanted it cataloged somewhere what possible improvements might be

@flip111
Copy link
Author

flip111 commented Feb 7, 2020

Maybe you can reopen this issue so it's easier to see it's still relevant. And instead put in the readme that this project is unmaintained.

@maackle
Copy link
Owner

maackle commented Feb 7, 2020

Good idea, I updated the README. And I guess these are all issues even if I'm not going to fix them, so I'll reopen.

@maackle maackle reopened this Feb 7, 2020
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

2 participants