Skip to content

Commit ce38646

Browse files
Fix ambersands escape chars
1 parent 33ede37 commit ce38646

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/check-links.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const pageUrl = (file) => {
3232
};
3333

3434
const decodeAttribute = (value) =>
35-
value.replaceAll('&', '&').replaceAll('"', '"').replaceAll(''', "'");
35+
value.replaceAll('"', '"').replaceAll(''', "'").replaceAll('&', '&');
3636

3737
const resolveLink = (raw, source) => {
3838
const value = decodeAttribute(raw.trim());

0 commit comments

Comments
 (0)