Files
svemagie 819aab1883
Build & Deploy / build-and-deploy (push) Failing after 1m3s
fix: prevent microformat links from being converted to YouTube embeds
YouTube repost/like/bookmark cards were showing the video thumbnail
twice: once from the unfurl card and once from the u-repost-of anchor
tag being matched by the youtube-link-to-embed transform.

Add a negative lookahead (?![^>]*\bclass=) to the transform regex so
that <a> tags with a class attribute are skipped. Microformat links
(u-repost-of, u-like-of, u-bookmark-of) and unfurl fallback links
always carry classes; bare YouTube URLs in Markdown content do not.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 17:42:13 +02:00

27 lines
588 B
Markdown

---
date: 2026-03-13T12:54:02.422Z
likeOf: https://ar.al/2022/01/06/the-web0-manifesto-a-technical-review/
webmentionResults:
sent: 0
failed: 0
skipped: 1
details:
sent: []
failed: []
skipped:
- target: https://ar.al/2022/01/06/the-web0-manifesto-a-technical-review/
reason: No webmention endpoint found
timestamp: 2026-03-14T08:54:04.177Z
webmentionSent: true
category: smallweb
updated: 2026-03-20T05:45:07.894Z
mpUrl: https://blog.giersig.eu/likes/d8b6c/
permalink: /likes/d8b6c/
up: []
related: []
created: 2026-03-31 19:01
tags:
collection:
---