niklasvh/html2canvas — pull request #299 by bensho (2013-11-25 14:50:12+00:00)
Title: Fix invalid selector exception with empty class values

After removing :before and :after pseudo selectors, a class name may be empty, causing an invalid selector string when joined. Remove empty elements before calling querySelectorAll.