From 3f7c617f357d8deecdffa980e71dbbaf0b4895e0 Mon Sep 17 00:00:00 2001 From: "Mikey Lombardi (He/Him)" Date: Tue, 11 Jun 2024 16:57:22 -0500 Subject: [PATCH] (AB#263698) Fix broken anchor in `Compare-Object` docs (#11179) Prior to this change, the document used a self-closing anchor tag to enable quick-linking to the third example. This change updates the anchor to wrap the text `Example 3` in the heading, per guidance for the platform. This ensures that the remainder of the page isn't a link to the anchor. - Fixes AB#263698 --- .../5.1/Microsoft.PowerShell.Utility/Compare-Object.md | 6 +++--- .../7.2/Microsoft.PowerShell.Utility/Compare-Object.md | 6 +++--- .../7.4/Microsoft.PowerShell.Utility/Compare-Object.md | 6 +++--- .../7.5/Microsoft.PowerShell.Utility/Compare-Object.md | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Utility/Compare-Object.md b/reference/5.1/Microsoft.PowerShell.Utility/Compare-Object.md index 567eebd83ef..1a398e94951 100644 --- a/reference/5.1/Microsoft.PowerShell.Utility/Compare-Object.md +++ b/reference/5.1/Microsoft.PowerShell.Utility/Compare-Object.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility -ms.date: 12/12/2022 +ms.date: 06/11/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/compare-object?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: Compare-Object @@ -90,10 +90,10 @@ InputObject SideIndicator bird == ``` - - ### Example 3 - Show the difference when using the PassThru parameter + + Normally, `Compare-Object` returns a **PSCustomObject** type with the following properties: - The **InputObject** being compared diff --git a/reference/7.2/Microsoft.PowerShell.Utility/Compare-Object.md b/reference/7.2/Microsoft.PowerShell.Utility/Compare-Object.md index 73774e17cbf..26c954ee19b 100644 --- a/reference/7.2/Microsoft.PowerShell.Utility/Compare-Object.md +++ b/reference/7.2/Microsoft.PowerShell.Utility/Compare-Object.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility -ms.date: 12/12/2022 +ms.date: 06/11/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/compare-object?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: Compare-Object @@ -91,10 +91,10 @@ InputObject SideIndicator bird == ``` - - ### Example 3 - Show the difference when using the PassThru parameter + + Normally, `Compare-Object` returns a **PSCustomObject** type with the following properties: - The **InputObject** being compared diff --git a/reference/7.4/Microsoft.PowerShell.Utility/Compare-Object.md b/reference/7.4/Microsoft.PowerShell.Utility/Compare-Object.md index 5011115dbb5..9650f4b4f23 100644 --- a/reference/7.4/Microsoft.PowerShell.Utility/Compare-Object.md +++ b/reference/7.4/Microsoft.PowerShell.Utility/Compare-Object.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility -ms.date: 12/12/2022 +ms.date: 06/11/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/compare-object?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: Compare-Object @@ -91,10 +91,10 @@ InputObject SideIndicator bird == ``` - - ### Example 3 - Show the difference when using the PassThru parameter + + Normally, `Compare-Object` returns a **PSCustomObject** type with the following properties: - The **InputObject** being compared diff --git a/reference/7.5/Microsoft.PowerShell.Utility/Compare-Object.md b/reference/7.5/Microsoft.PowerShell.Utility/Compare-Object.md index ef8287d6eef..8df76d5a3b7 100644 --- a/reference/7.5/Microsoft.PowerShell.Utility/Compare-Object.md +++ b/reference/7.5/Microsoft.PowerShell.Utility/Compare-Object.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility -ms.date: 12/12/2022 +ms.date: 06/11/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/compare-object?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: Compare-Object @@ -91,10 +91,10 @@ InputObject SideIndicator bird == ``` - - ### Example 3 - Show the difference when using the PassThru parameter + + Normally, `Compare-Object` returns a **PSCustomObject** type with the following properties: - The **InputObject** being compared