That test was one hyphen through five hyphens with the number 23 and no spaces.
This site automatically converted my hyphens to Em Dashes. Interestingly the odd number of hyphens I typed placed the remaining unpaired hyphen at the beginning of the chain and not at the end as we see it in the Q post. Site/software dependent perhaps.
Not the website. Your browser. FR delivers the content to me as five lines, as you typed them, with one, two, three, four, then five hyphens.