SWC-793: if img, do not go to the target page
undo accidental change
Merge pull request #522 from jay-hodgson/release-8

SWC-793: fix expand/collapse arrows in wiki subpages