Strange behavior of pinegrow's internal webserver

I am no expert on the intricacies of a webserver running locally in pinegrow, but I have noticed strange behavior of my website when it runs on this internal webserver:
My website is using bootstrap 4 (maybe that is not relevant) and I noticed that all links (<a> with not target specified) open up in new tabs of the used browser (safari and firefox) instead of opening in the same tab. This is not the case if I just view the main html file with a web browser or use live server in vscode. If I explicitely specify target="_self" the corresponding link does open in the same tab. So maybe the internal webserver changes some html preferences like setting <base target="_blank">.

Is this a bug or am I missing something here?

System Information: MacOS Catalina 10.15.3 running pinegrow 5.941. Webbrowsers: Safari 13.0.5 and Firefox 74.0.

Hi @Wizard
If you inspect the output code from the PG server during preview you will find that if no target is set it will add “_pg_blank”. This gets stripped away/not added when saved to your file and opened by another browser. I think this choice was made so that you can test your page without having to navigate back to it constantly. If you explicitly set the target, the PG server will honor your choice.

Thanks for the reply. Good to know that this is by design. To me it was quite confusing though.