optimize checkbox regex, fix broken unordered lists