Ignore optimizationBrowser Info Environment
Is it possible to exclude an entire global area (Navigation or Another Div area) from the optimization?
There's no way to do that specifically but there might be other ways.
What is there, in that area or div, that you want to remain unoptimized? Is it JS, CSS, or HTML content?
But I'm not sure I understand what you mean when you say "div elements that are not closed in the code. They are automatically closed in the HTML output"? Do you mean they're not closed in the PHP code but they are closed in the HTML displayed on the site?
I'm asking because the parser grabs the generated HTML output and works with that. If your DIVs are closed in the HTML output then there shouldn't be a problem.
And on the screenshot you sent me all DIVs seem closed.
Either I misunderstand you or maybe the problem is elsewhere?