From d0c1dd99ebec00e022ded79f78d8800583421c32 Mon Sep 17 00:00:00 2001 From: kinu <92515100+kinu404@users.noreply.github.com> Date: Thu, 2 Jul 2026 09:39:58 +0200 Subject: [PATCH] Fix unrendered mx-imgBorder div Fixes the `[!div class="mx-imgBorder"]` markup leaking into the rendered page in the "Enable or disable inheritance for a specific repository" section of Set Git repository permissions. Problem: The `[!div]` extension and its image were missing the blockquote (`>`) prefix, so DocFX didn't parse them as an extension and rendered `[!div class="mx-imgBorder"]` as literal text above the screenshot. Fix: Added the `>` prefix to both the `[!div]` line and the image line so they form a single blockquote, matching the correctly rendered usage in the "Set permissions for a specific user" section of the same file. --- docs/repos/git/set-git-repository-permissions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/repos/git/set-git-repository-permissions.md b/docs/repos/git/set-git-repository-permissions.md index 8e4fb3b7aaa..6b77b32eab3 100644 --- a/docs/repos/git/set-git-repository-permissions.md +++ b/docs/repos/git/set-git-repository-permissions.md @@ -140,8 +140,8 @@ The permission changes are automatically saved for the selected group. To enable or disable inheritance for a specific repository, select the repository and then move the **Inheritance** slider to either the on or off position. -[!div class="mx-imgBorder"] -![Screenshot that shows enabling or disabling Inheritance for a specific repository.](media/git-permissions/disable-inheritance-specific-repo.png) +> [!div class="mx-imgBorder"] +> ![Screenshot that shows enabling or disabling Inheritance for a specific repository.](media/git-permissions/disable-inheritance-specific-repo.png) To learn about inheritance, see [About permissions and groups](../../organizations/security/about-permissions.md#permission-inheritance). @@ -169,4 +169,4 @@ You can use the bypass option when necessary by granting the first permission an - [Default permissions and access](../../organizations/security/permissions-access.md) - [Permissions and groups reference](../../organizations/security/permissions.md) - [Git permission command](../tfvc/git-permission-command.md) -- [Security REST API commands](/rest/api/azure/devops/security/) \ No newline at end of file +- [Security REST API commands](/rest/api/azure/devops/security/)