ahdinosaur / bigspace

an infinite space of resources
MIT License
1 stars 1 forks source link

space tabs break when space id contains special characters #70

Closed wolfbiter closed 11 years ago

wolfbiter commented 11 years ago

example breaking characters: ,&/

i'm sure there are more. they break the css attribute, this can be seen in tab.js.

link to a jquery plugin which does css escaping: http://kjvarga.blogspot.com/2009/06/jquery-plugin-to-escape-css-selector.html

note: we should also escape the hrefs we assign to the tabs

ahdinosaur commented 11 years ago

fixed with 48131df6c53db567f62994e95a06e51754ec025a