Skip to content

Conversation

@figure002
Copy link

The ampersand ("&") has a special meaning in HTML, and when it's used in
an URL query string, they must be written as &. For example, this
is the correct format:

<link rel="stylesheet" href="main.css?foo=bar&amp;baz=buz">

This is invalid:

<link rel="stylesheet" href="main.css?foo=bar&baz=buz">

This updates the library to correctly use the HTML entity in URLs.

The ampersand ("&") has a special meaning in HTML, and when it's used in
an URL query string, they must be written as `&amp;`. For example, this
is the correct format:

    <link rel="stylesheet" href="main.css?foo=bar&amp;baz=buz">

This is invalid:

    <link rel="stylesheet" href="main.css?foo=bar&baz=buz">

This updates the library to correctly use the HTML entity in URLs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant