At the moment, html code folding doesn't ignore tags in comments (e.g., <!-- <body> -->), which messes up code folding, causing tag mismatches. For a simple example, see the Brackets getting started example that comes with the app.
This isn't the case with files that use the brace range finder, so a simple solution would be to just ignore comments, like is done in that approach.
I'll submit a pull request if I get chance to look at the code in more detail.
At the moment, html code folding doesn't ignore tags in comments (e.g.,
<!-- <body> -->
), which messes up code folding, causing tag mismatches. For a simple example, see the Brackets getting started example that comes with the app.This isn't the case with files that use the brace range finder, so a simple solution would be to just ignore comments, like is done in that approach.
I'll submit a pull request if I get chance to look at the code in more detail.