Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ampersand must be written as the HTML entity in HTML #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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