{"id":18966037,"date":"2026-07-15T15:41:33","date_gmt":"2026-07-15T15:41:33","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/breaking-css-url\/"},"modified":"2026-07-15T15:41:33","modified_gmt":"2026-07-15T15:41:33","slug":"breaking-css-url","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/breaking-css-url\/","title":{"rendered":"Breaking CSS url()"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello @patrickposner! Hope you&#8217;re well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Longtime happy pro user here.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My CSS input to SimplyStatic contains SVG via CSS <code>url()<\/code>. This SVG, as is standard, contains the <code>xmlns<\/code> attribute, with a value that contains <code>http:\/\/<\/code>, but SS trims the second slash down to <code>http:\/<\/code> and the svg breaks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The issue does not occur on WP, only on static output.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note that I do not have any SS code optimization features toggled on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note also that this is not deterministic. It occurs on some <code>url()<\/code> but not others, and I am not discerning a pattern to this issue. I tried pasting the complete CSS, but the SVG gets sanitized.<\/p>\n","protected":false},"template":"","class_list":["post-18966037","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18966037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18966037\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18966037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}