craigh/Tag — Issue #2: HTML validation error
Author: hvorragend
Created: 2011-11-22 08:54:30+00:00
State: open

\modules\Tag\templates\hooks\edit.tpl
=====================================

If I use a tag with a whitespace in it, then we have several html validation errors:

Example:
```

open source

```

First I thought that I can fix it with:
```
...id='TagAvail_{$tag.tag|replace:" ":"_":safetext}'...
```
but then the javascript isn't working anymore.

There are more lines with this problem. We shouldn't use the tag name for the ID attribute. A simple key would be nice, but we don't have it in the array.