honestbleeps/Reddit-Enhancement-Suite — pull request #1745 by erikdesjardins (2014-11-02 01:17:54+00:00)
Title: Fix handling of last image in imgur 'hash list' albums

I don't know if there's an issue filed for this (I couldn't find one), but I've experienced this a few times and this time I decided to fix it.

Basically, RES would encounter an album like this: `imgur.com/ACD9Lxc,8TSygIR#0` and would include the index of the current image (from when the link was copied) in the hash of the last image (i.e. `8TSygIR#0` instead of `8TSygIRm`), causing it to fail to load.

This change strips anything after `#`, if it's present.