cobrateam/django-htmlmin — Issue #20: Minifying shuffles HTML tags in my code
Author: nord
Created: 2011-10-14 14:08:20+00:00
State: open

Hi Francisco,

When I minify my HTML code, some tags get shuffled.

For example this code:

```python
# HTML attributes removed for clarity
html = '

'
html_minify(html, ignore_comments=False)
```

returns the following string (note the `````` tag):

```

```

Is this a bug in django-htmlmin?