You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 28, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 28, 2026. It is now read-only.
The format of a URI value is 'url(' followed by optional white space followed by an optional single quote (') or double quote (") character followed by the URI itself, followed by an optional single quote (') or double quote (") character followed by optional white space followed by ')'. The two quote characters must be the same.
and
Some characters appearing in an unquoted URI, such as parentheses, white space characters, single quotes (') and double quotes ("), must be escaped with a backslash so that the resulting URI value is a URI token: '(', ')'.
Please mention other relevant information such as your webpack version, Node.js version and Operating System.
Hello, I am still having this issue. In angular 4 application, when built in production mode, quotation mark is kept if there are two spaces in the path but with one space, quotation mark is removed . For example,
before ng build --prod the background-image property looks like this:
Activity
stevestock commentedon Mar 12, 2017
Is there any workaround besides removing spaces from filenames?
romanzoller commentedon Mar 13, 2017
That or not using
[name]in the name option of file-loader, I haven't found anything else.michael-ciniawsky commentedon Mar 13, 2017
@stevestock @romanzoller Sry I will take a look into that soon meanwhile avoid
[name]Fixed: loader now correctly handles `url` with space(s) [webpack#410].
alexander-akait commentedon Apr 20, 2017
/cc @michael-ciniawsky can we close this issue?
michael-ciniawsky commentedon Apr 20, 2017
@evilebottnawi yep 😛
RRmallaP commentedon Oct 19, 2017
Hello, I am still having this issue. In angular 4 application, when built in production mode, quotation mark is kept if there are two spaces in the path but with one space, quotation mark is removed . For example,
before
ng build --prodthe background-image property looks like this:after
ng build --prod, this is what I see in the browser:Am I missing something here?
alexander-akait commentedon Oct 19, 2017
@RRmallaP which version
css-loaderare you?RRmallaP commentedon Oct 20, 2017
@evilebottnawi Its version 0.28.7