What version are you running?
1.7.1
What's the URL of the page containing the problem?
Found on internal instance of ReviewBoard.
What steps will reproduce the problem?
1. View a diff that contains lines with only whitespace changes
2. Try to toggle 'Hide whitespace changes'
3.
What is the expected output? What do you see instead?
References to the whitespace changes should dim and whitespace changes should no longer be highlighted. Instead nothing happens and the button doesn't toggle.
Chrome's console shows:
Uncaught Error: Syntax error, unrecognized expression: ol.index a[href=#5.2]
What operating system are you using? What browser?
Windows 7/Mac OS X 10.8 Chrome/Firefox/Opera
Please provide any additional information below.
I've attached a patch that fixes the problem for me.