fix #8541

Fixes #8541 

This pr merges into kevin's inline-styling branch so this should be merged before https://github.com/adobe/brackets/pull/8529