Skip to content

Commit 0a04204

Browse files
committed
Fix html encoding of xref links
1 parent f4f3507 commit 0a04204

File tree

23 files changed

+165
-164
lines changed

23 files changed

+165
-164
lines changed

.openpublishing.publish.config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"need_generate_pdf_url_template": false,
7272
"need_preview_pull_request": true,
7373
"notification_subscribers": [],
74+
"package_version" : "latest",
7475
"redirection_files": [
7576
"redir/.openpublishing.redirection.json",
7677
"redir/.openpublishing.redirection.51.json",

reference/5.1/Microsoft.PowerShell.Core/About/about_Type_Conversion.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,9 @@ For more information, see [about_Comparison_Operators][05].
536536
[13]: xref:System.ComponentModel.TypeConverter
537537
[14]: xref:System.ComponentModel.TypeConverterAttribute
538538
[15]: xref:System.Enum
539-
[16]: xref:System.Globalization.CultureInfo.InvariantCulture*
539+
[16]: xref:System.Globalization.CultureInfo.InvariantCulture%2A
540540
[17]: xref:System.Management.Automation.ArgumentTransformationAttribute
541541
[18]: xref:System.Management.Automation.PSTypeConverter
542-
[19]: xref:System.Math.DivRem*
543-
[20]: xref:System.Math.Round*#midpoint-values-and-rounding-conventions
544-
[21]: xref:System.Math.Truncate*
542+
[19]: xref:System.Math.DivRem%2A
543+
[20]: xref:System.Math.Round%2A#midpoint-values-and-rounding-conventions
544+
[21]: xref:System.Math.Truncate%2A

reference/5.1/Microsoft.PowerShell.Core/About/about_Wildcards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ foreach ($point in $p) {
110110
[02]: about_If.md
111111
[03]: about_Language_Keywords.md
112112
[04]: about_Script_Blocks.md
113-
[05]: xref:System.IO.DirectoryInfo.GetFiles*#system-io-directoryinfo-getfiles(system-string-system-io-enumerationoptions)
113+
[05]: xref:System.IO.DirectoryInfo.GetFiles%2A#system-io-directoryinfo-getfiles(system-string-system-io-enumerationoptions)

reference/5.1/Microsoft.PowerShell.Core/TabExpansion2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
240240

241241
[about_Tab_Expansion](./about/about_Tab_Expansion.md)
242242

243-
[CompleteInput() method](xref:System.Management.Automation.CommandCompletion.CompleteInput*)
243+
[CompleteInput() method](xref:System.Management.Automation.CommandCompletion.CompleteInput%2A)

reference/7.4/Microsoft.PowerShell.Core/About/about_Type_Conversion.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,9 @@ For more information, see [about_Comparison_Operators][05].
536536
[13]: xref:System.ComponentModel.TypeConverter
537537
[14]: xref:System.ComponentModel.TypeConverterAttribute
538538
[15]: xref:System.Enum
539-
[16]: xref:System.Globalization.CultureInfo.InvariantCulture*
539+
[16]: xref:System.Globalization.CultureInfo.InvariantCulture%2A
540540
[17]: xref:System.Management.Automation.ArgumentTransformationAttribute
541541
[18]: xref:System.Management.Automation.PSTypeConverter
542-
[19]: xref:System.Math.DivRem*
543-
[20]: xref:System.Math.Round*#midpoint-values-and-rounding-conventions
544-
[21]: xref:System.Math.Truncate*
542+
[19]: xref:System.Math.DivRem%2A
543+
[20]: xref:System.Math.Round%2A#midpoint-values-and-rounding-conventions
544+
[21]: xref:System.Math.Truncate%2A

reference/7.4/Microsoft.PowerShell.Core/About/about_Wildcards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ foreach ($point in $p) {
110110
[02]: about_If.md
111111
[03]: about_Language_Keywords.md
112112
[04]: about_Script_Blocks.md
113-
[05]: xref:System.IO.DirectoryInfo.GetFiles*#system-io-directoryinfo-getfiles(system-string-system-io-enumerationoptions)
113+
[05]: xref:System.IO.DirectoryInfo.GetFiles%2A#system-io-directoryinfo-getfiles(system-string-system-io-enumerationoptions)

reference/7.4/Microsoft.PowerShell.Core/TabExpansion2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,4 +230,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
230230

231231
[about_Tab_Expansion](./about/about_Tab_Expansion.md)
232232

233-
[CompleteInput() method](xref:System.Management.Automation.CommandCompletion.CompleteInput*)
233+
[CompleteInput() method](xref:System.Management.Automation.CommandCompletion.CompleteInput%2A)

reference/7.4/Microsoft.PowerShell.Utility/Invoke-RestMethod.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ You can also pipe a body value to `Invoke-RestMethod`.
410410
The **Body** parameter can be used to specify a list of query parameters or specify the content of
411411
the request. For query parameters, the cmdlet uses the **System.Net.WebUtility.UrlEncode** method
412412
method to encode the key-value pairs. For more information about encoding strings for URLs, see
413-
[the UrlEncode() method reference](xref:System.Net.WebUtility.UrlEncode*).
413+
[the UrlEncode() method reference](xref:System.Net.WebUtility.UrlEncode%2A).
414414

415415
When the input is a POST request and the body is a **String**, the value to the left of the first
416416
equals sign (`=`) is set as a key in the form data and the remaining text is set as the value. To
@@ -1507,7 +1507,7 @@ PowerShell includes the following aliases for `Invoke-RestMethod`:
15071507
Some features may not be available on all platforms.
15081508

15091509
Because of changes in .NET Core 3.1, PowerShell 7.0 and higher use the
1510-
[HttpClient.DefaultProxy](xref:System.Net.Http.HttpClient.DefaultProxy*) property to determine the
1510+
[HttpClient.DefaultProxy](xref:System.Net.Http.HttpClient.DefaultProxy%2A) property to determine the
15111511
proxy configuration.
15121512

15131513
The value of this property differ depending on your platform:

reference/7.4/Microsoft.PowerShell.Utility/Invoke-WebRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ You can also pipe a body value to `Invoke-WebRequest`.
491491
The **Body** parameter can be used to specify a list of query parameters or specify the content of
492492
the response. For query parameters, the cmdlet uses the **System.Net.WebUtility.UrlEncode** method
493493
method to encode the key-value pairs. For more information about encoding strings for URLs, see
494-
[the UrlEncode() method reference](xref:System.Net.WebUtility.UrlEncode*).
494+
[the UrlEncode() method reference](xref:System.Net.WebUtility.UrlEncode%2A).
495495

496496
When the input is a POST request and the body is a **String**, the value to the left of the first
497497
equals sign (`=`) is set as a key in the form data and the remaining text is set as the value. To
@@ -1491,7 +1491,7 @@ For more information, see
14911491
[BasicHtmlWebResponseObject](xref:Microsoft.PowerShell.Commands.BasicHtmlWebResponseObject).
14921492

14931493
Because of changes in .NET Core 3.1, PowerShell 7.0 and higher use the
1494-
[HttpClient.DefaultProxy](xref:System.Net.Http.HttpClient.DefaultProxy*)
1494+
[HttpClient.DefaultProxy](xref:System.Net.Http.HttpClient.DefaultProxy%2A)
14951495
property to determine the proxy configuration.
14961496

14971497
The value of this property is determined by your platform:

reference/7.5/Microsoft.PowerShell.Core/About/about_Type_Conversion.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,9 @@ For more information, see [about_Comparison_Operators][05].
536536
[13]: xref:System.ComponentModel.TypeConverter
537537
[14]: xref:System.ComponentModel.TypeConverterAttribute
538538
[15]: xref:System.Enum
539-
[16]: xref:System.Globalization.CultureInfo.InvariantCulture*
539+
[16]: xref:System.Globalization.CultureInfo.InvariantCulture%2A
540540
[17]: xref:System.Management.Automation.ArgumentTransformationAttribute
541541
[18]: xref:System.Management.Automation.PSTypeConverter
542-
[19]: xref:System.Math.DivRem*
543-
[20]: xref:System.Math.Round*#midpoint-values-and-rounding-conventions
544-
[21]: xref:System.Math.Truncate*
542+
[19]: xref:System.Math.DivRem%2A
543+
[20]: xref:System.Math.Round%2A#midpoint-values-and-rounding-conventions
544+
[21]: xref:System.Math.Truncate%2A

0 commit comments

Comments
 (0)