From dee313f57568d9bcf336e1c365225059713b4a19 Mon Sep 17 00:00:00 2001
From: SurefireStudios <123013554+SurefireStudios@users.noreply.github.com>
Date: Tue, 15 Sep 2026 08:53:27 -0700
Subject: [PATCH] Fix invalid element in nuget.config example
The NuGet section wrote the element as `< clear />` with a space between
the angle bracket and the tag name, in the XML example and twice in the
surrounding prose. XML element names cannot begin with whitespace, so the
example does not parse and NuGet rejects the resulting nuget.config.
The correct spelling `` is already used in
"Working with the NuGet registry".
---
.../remove-access-to-public-registries.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/content/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/remove-access-to-public-registries.md b/content/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/remove-access-to-public-registries.md
index c9f1c8d50c8a..39044906852f 100644
--- a/content/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/remove-access-to-public-registries.md
+++ b/content/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/remove-access-to-public-registries.md
@@ -232,15 +232,15 @@ If the `yarn.lock` file doesn't list the private registry as the dependency sour
To allow the NuGet ecosystem to only access private registries, you can configure the `dependabot.yml` file. For more information, see [AUTOTITLE](/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configure-access-to-private-registries#nuget-feed).
-The NuGet ecosystem additionally requires a `nuget.config` file to be checked into the repository, with either a `< clear />` tag in `` section or a key `nuget.org` as true in the `disabledPackageSources` section of the `nuget.config` file.
+The NuGet ecosystem additionally requires a `nuget.config` file to be checked into the repository, with either a `` tag in `` section or a key `nuget.org` as true in the `disabledPackageSources` section of the `nuget.config` file.
-This is an example of a `< clear />` tag in the `packageSources` section of the `nuget.config`.
+This is an example of a `` tag in the `packageSources` section of the `nuget.config`.
```xml
- < clear />
+