When I code [Top](#) and then click on that link in the preview window I get a directory listing:

When I bring up the generated html file in firefox or edge then clicking on the link takes me to the top of the page as expected.
Is this a bug or expected behavior?
David