4 ms·
My problem with Hamlet is that using it would cause a lot of unneeded pains and errors. I have a team of consultants doing all HTML coding, and they've been doi
by ique 15y ago
My problem with Hamlet is that using it would cause a lot of unneeded pains and errors. I have a team of consultants doing all HTML coding, and they've been doing HTML for years (and are thus accustomed to writing pure HTML). If they just happen to close a single tag anywhere in any page, the application crashes.
If that is robust, then I'm not sure what definition you are using.
- Vagif-Verdi 15y agoI'm not sure where you get that info. You certainly can close tags in hamlet. (I often do). You just do not have to.
- ique 15y agoI'm getting the info from testing. I tried using Yesod for a while but kept getting this error: "A tag name may not contain a slash. Perhaps you have a closing tag in your HTML." Which you can find in the source for the parser as well: if '/' `elem` tn then fail "A tag name may not contain a slash. Perhaps you have a closing tag in your HTML." Maybe there's a way to work around this so you can use closed tags, but it sure wasn't obvious.