-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prevent URLs in attributes being escaped (#9820)
* prevent URLs in `content` attributes being escapedk * removed content check * Update .changeset/quick-islands-ring.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> * add check for '&' in string * Update .changeset/quick-islands-ring.md * manual `canParse` * add test --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
- Loading branch information
1 parent
2db25c0
commit 8edc42a
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"astro": patch | ||
--- | ||
|
||
Prevents fully formed URLs in attributes from being escaped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters