HTML Export Link to other Slides not working

When I click on a link to another slide, in the html export, it gives the slide thing’s in the url with the #slide4 instead of the image4 you’d say. I want the HTML to have a bit of interactivity, so the links should go to other slides on the HTML export. Is this possible?