Followup from #3376622: CssCollectionGrouper should respect media property from CSS asset definition

If I add the following to my theme library's global styling

global-styling:
  css:
    component:
      https://www.herchel.com/test.css:
        media: 'all and (width > 768px)'
        type: external

The resulting greater-than symbol (>) is escaped when output to the markup

<link rel="stylesheet" media="all and (width &gt; 768px)" href="https://www.herchel.com/test.css" />

Comments

mherchel created an issue.

andy-blum’s picture

Worth looking into if that media query is also escaped for the inlined version within aggregated CSS