tla / stemmaweb

Catalyst interface and online tools for stemmatology research
13 stars 9 forks source link

HTML ids cannot have spaces, sanitation needed in formComtrols.js #171

Closed jorisvanzundert closed 4 months ago

jorisvanzundert commented 1 year ago

Name and ID attributes for form controls are automatically generated based on the label given for the control. But this may lead to whitespace in IDs and names, which is not allowed. Replacing whitespace with '-' is pretty easy, but side effects are unknown and should be checked.