UUDigitalHumanitieslab / I-analyzer

The great textmining tool that obviates all others
https://ianalyzer.hum.uu.nl
MIT License
7 stars 2 forks source link

Corpus documentation tabs use invalid element IDs #1606

Closed lukavdplas closed 3 months ago

lukavdplas commented 3 months ago

On the corpus documentation page, the id property of the tab panel is set from the title of the tab, i.e. General information, Citation, Licence. These titles are not always valid DOM IDs.

Proposed solution: add a small transformation function to turn the page title into a valid ID. (Removing spaces should be enough.) Use that to set appropriate properties in the template.