Never remove media attribute on link tags
Only display media if it is meaningful
Merge pull request #763 from louisremi/preserve_media

Only display media if it is meaningful