nihlaeth / dnd

online character sheets for Dungeons & Dragons v2.tomaas
GNU General Public License v3.0
8 stars 4 forks source link

spells with spaces in name give problems with ID fields so can't collapse and expand data #8

Closed nihlaeth closed 7 years ago

nihlaeth commented 7 years ago

extra info: the problem lies with lines like this one. Spaces have special meaning in ID fields, so we should use a filter that replaces them with hyphens in all HTML attributes.

jinja2 filters

nihlaeth commented 7 years ago

fixed with 017598bc8fdb1159e5ce96b431a2c830057b4ae4

nihlaeth commented 7 years ago

although the same problem theoretically exists with skills

nihlaeth commented 7 years ago

skills fixed with cc84a11f39a5ab94a631e7efab1fd2a94193b500