patch from user broke stats button
preserve image filenames when stripping html

- also do this for the sort field
Merge branch 'master' of github.com:dae/anki
don't indiscriminately modSchema on db check
"manage note types"
fix issues with clozes and <% %>