Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

"url", "src", and "href" parser rules allow values to begin with "//".#431

Open
nickhoffman wants to merge 1 commit into
tiff:masterfrom
nickhoffman:support_urls_with_no_protocol
Open

"url", "src", and "href" parser rules allow values to begin with "//".#431
nickhoffman wants to merge 1 commit into
tiff:masterfrom
nickhoffman:support_urls_with_no_protocol

Conversation

@nickhoffman
Copy link
Copy Markdown

This is necessary because many URLs omit the protocol. E.g.
<a href="//foo.com">

Note: The updated tests pass.

This is necessary because many URLs omit the protocol. E.g.
<a href="//foo.com">
@IvanTorresEdge
Copy link
Copy Markdown

And should not be escaped :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants