I occasionally export notebooks as HTML. These notebooks contain many hyperlinks to web locations that were inserted non-programmatically with Insert -> Hyperlink..., then exported to HTML using the File -> Save As... -> Web Page (*.html) menu item. The only thing I'm struggling with is that when a link is clicked, the original window is replaced by a new one, while I would like it to open in a new browser tab. The Advanced option in the Insert -> Hyperlink... dialog works only if the notebook is deployed in the cloud which is not my case.
I'm considering postprocessing (in the WL, of course) to insert target="_blank" in the correct places in the HTML, but before I do that, isn't there a more straightforward way?
Import["...html", "Text"]into a single long string, usesStringReplaceappropriately, andExports back to*.htmlfile. It's not very elegant, but it works reliably. $\endgroup$