Opening html files stopped launching the browser, but launched the vscode application.
It turned out a new handler was configured
check your ~/.config/mimeapps.list file
The line
sends the text/html files to a handler that launches vscode.
Just remove that line. And the xdg-open <> will work again as expected
> xdg-mime query default text/html
code-url-handler.desktop
It turned out a new handler was configured
check your ~/.config/mimeapps.list file
The line
[Default Applications]
text/html=code-url-handler.desktop
sends the text/html files to a handler that launches vscode.
Just remove that line. And the xdg-open <> will work again as expected