MayhemYDG/4chan-x — Issue #297: Image dimensions for /po/ and PDF files
Author: saxamaphone69
Created: 2012-02-28 08:34:48+00:00
State: open

Heading to /po/, a `span.textContent.match(/\d+x\d+/) is null` alert box appears.

I'm going to assume this is because /po/ can have PDF files, and they don't have a resolution?

`/^[2345]\d{3,}x[2345]\d{3,}$/;op:yes;highlight:reslarge;top:no`

My filter code, no errors in console or anything, bleeding edge version of 4chan x.

I also feel this might have something to do with how the filename is riced out. Since `Resolution: %r (Displays PDF on /po/, for PDF's)` means the word PDF is displayed instead.