Beware gotcha when using HTML comments in Firefox

Tweet Just spent far too much time on this little gotcha, hopefully this saves someone a lot of frustration! Let’s say you have some markup, like so: <div id=”someContainer”> <span>Some text</span> </div><!– someContainer –> It’s relatively common for people to put a closing comment to help match up closing tags. [...]