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
I refactored some html code and broke my project due to the <div> tag not wrapping my html. Unicorn didn't throw any errors, nor did the browser. I was completely puzzled for ages. It could help other users down the line if this is implemented?
The text was updated successfully, but these errors were encountered:
This has happened to me before as well, so this would definitely be useful! It might be a little tricky because I use BeautifulSoup to parse the HTML in Python and it is very forgiving of invalid HTML (because usually that's what you want), but I might be able to figure out a way to provide more information to users.
This was a little trickier than I expected, but I do have some code that prints a warning when a component's HTML doesn't appear to be well formed in #351. I'm not sure if it should be on by default or if it will be noisy with false positives where the HTML would have been just fine.
Any thoughts on how aggressive Unicorn should be checking that component HTML looks valid?
I refactored some html code and broke my project due to the
<div>
tag not wrapping my html. Unicorn didn't throw any errors, nor did the browser. I was completely puzzled for ages. It could help other users down the line if this is implemented?The text was updated successfully, but these errors were encountered: