diff --git a/files/en-us/web/api/attribution_reporting_api/registering_sources/index.md b/files/en-us/web/api/attribution_reporting_api/registering_sources/index.md
index 84533ee30b2d12d..bd9a67d0c73ee4e 100644
--- a/files/en-us/web/api/attribution_reporting_api/registering_sources/index.md
+++ b/files/en-us/web/api/attribution_reporting_api/registering_sources/index.md
@@ -167,7 +167,7 @@ The browser stores the attribution source data when the browser receives the res
A {{htmlelement("script")}} example might look like so:
```html
-
+
```
Or via the {{domxref("HTMLScriptElement.attributionSrc")}} property:
diff --git a/files/en-us/web/api/attribution_reporting_api/registering_triggers/index.md b/files/en-us/web/api/attribution_reporting_api/registering_triggers/index.md
index 517869a7678f2bf..d13d28cd83313a1 100644
--- a/files/en-us/web/api/attribution_reporting_api/registering_triggers/index.md
+++ b/files/en-us/web/api/attribution_reporting_api/registering_triggers/index.md
@@ -138,7 +138,7 @@ In this case, the browser will attempt to match the trigger with a stored attrib
A {{htmlelement("script")}} example might look like so:
```html
-
+
```
```js