Fixes #864 Attach style sheet to specific files does not expand the sele...

Fixes #864