Skip to content

Commit d8652f7

Browse files
authored
markdig fixes - Part 13 (dotnet#2690)
* markdig fixes * fix
1 parent f2ddd3f commit d8652f7

File tree

11 files changed

+40
-28
lines changed

11 files changed

+40
-28
lines changed

xml/System.Web.Services.Description/SoapBinding.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
<format type="text/markdown"><![CDATA[
9494
9595
## Remarks
96-
The field value is "http://schemas.xmlsoap.org/soap/http/".
96+
The field value is `"http://schemas.xmlsoap.org/soap/http/"`.
9797
9898
9999
@@ -130,7 +130,7 @@
130130
<format type="text/markdown"><![CDATA[
131131
132132
## Remarks
133-
The field value is "http://schemas.xmlsoap.org/wsdl/soap/".
133+
The field value is `"http://schemas.xmlsoap.org/wsdl/soap/"`.
134134
135135
136136

xml/System.Web.Services.Discovery/DiscoveryDocumentReference.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@
275275
<format type="text/markdown"><![CDATA[
276276
277277
## Remarks
278-
For most references, the <xref:System.Web.Services.Discovery.DiscoveryDocumentReference.Ref%2A> property is a URL, such as http://www.contoso.com/MyWebService.disco.
278+
For most references, the <xref:System.Web.Services.Discovery.DiscoveryDocumentReference.Ref%2A> property is a URL, such as `http://www.contoso.com/MyWebService.disco`.
279279
280280
281281

xml/System.Web.UI.DataVisualization.Charting/LegendItem.xml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -859,9 +859,12 @@
859859
If you set the <xref:System.Web.UI.DataVisualization.Charting.LegendItem.MapAreaAttributes%2A> property, a client-side image map will automatically be created. A map area will also be created, with its attribute string appended to the \<map> tag that corresponds to the chart object for which this property is being set.
860860
861861
For example, setting the Target attribute using this property and the <xref:System.Web.UI.DataVisualization.Charting.LegendItem.Url%2A> property of the first data point will result in HTML code that is similar to the following code:
862-
863-
\<img id="Chart1" usemap="#Chart1ImageMap" src="ChartPic_000002.jpg?6735e83b-f0cd-4225-8be4-047695a61040" border="0" />...\<map name="Chart1ImageMap">\<area shape="rect" href="http://www.SomeDomain.ca" COORDS="69,120,106,309" target\=_blank>\</map>
864-
862+
863+
```html
864+
<img id="Chart1" usemap="#Chart1ImageMap" src="ChartPic_000002.jpg?6735e83b-f0cd-4225-8be4-047695a61040" border="0" />...
865+
<map name="Chart1ImageMap"><area shape="rect" href="http://www.SomeDomain.ca" COORDS="69,120,106,309" target=_blank></map>
866+
```
867+
865868
Because the entire string is appended to the \<map> tag, multiple attributes should be separated with a space.
866869
867870
The <xref:System.Web.UI.DataVisualization.Charting.LegendItem.MapAreaAttributes%2A> property can be used in conjunction with the <xref:System.Web.UI.DataVisualization.Charting.LegendItem.Url%2A> property to specify map area attributes, for example, target= _blank, as well as client-side event handlers, for example, OnClick="MyEvent()".
@@ -1733,8 +1736,11 @@
17331736
## Remarks
17341737
If you set this property, a client-side image map will be automatically created. A map area will also be created with its HREF attribute set to the specified anchor or URL. This map area will also use the dimensions that correspond to the relevant chart element. For example, if the <xref:System.Web.UI.DataVisualization.Charting.LegendItem.Url%2A> property is set for a data point, then HTML code similar to the following will be generated at run time:
17351738
1736-
\<img id="Chart1" USEMAP="#Chart1ImageMap" src="ChartPic_000002.jpg?6735e83b-f0cd-4225-8be4-047695a61040" border="0" />...\<MAP NAME="Chart1ImageMap">\<AREA SHAPE="rect" HREF="http://www.healthquotes.ca" COORDS= "69,120,106,309">\</MAP>
1737-
1739+
```html
1740+
<img id="Chart1" USEMAP="#Chart1ImageMap" src="ChartPic_000002.jpg?6735e83b-f0cd-4225-8be4-047695a61040" border="0" />...
1741+
<MAP NAME="Chart1ImageMap"><AREA SHAPE="rect" HREF="http://www.healthquotes.ca" COORDS= "69,120,106,309"></MAP>
1742+
```
1743+
17381744
Setting this property will have no effect if the <xref:System.Web.UI.DataVisualization.Charting.Chart.IsMapEnabled%2A> property is set to `false`. The default value is `true`.
17391745
17401746
> [!IMPORTANT]
@@ -1754,4 +1760,4 @@
17541760
</Docs>
17551761
</Member>
17561762
</Members>
1757-
</Type>
1763+
</Type>

xml/System.Web.UI.DataVisualization.Charting/MapArea.xml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,10 @@
403403
## Remarks
404404
If you set this property, a client-side image map will be automatically created, and a map area will be created with the attribute string appended to the \<MAP> tag that corresponds to the <xref:System.Web.UI.DataVisualization.Charting.Chart> object that this property is being set for. For example, setting the Target attribute using this property and setting the `Url` property of the first data point will result in HTML code that is similar to the following:
405405
406-
\<img id="Chart1" USEMAP="#Chart1ImageMap" src="ChartPic_000002.jpg?6735e83b-f0cd-4225-8be4-047695a61040" border="0" />...\<MAP NAME="Chart1ImageMap">\<AREA SHAPE="rect" HREF="http://www.SomeDomain.ca" COORDS="69,120,106,309" Target\=_Blank>\</MAP>
406+
```html
407+
<img id="Chart1" USEMAP="#Chart1ImageMap" src="ChartPic_000002.jpg?6735e83b-f0cd-4225-8be4-047695a61040" border="0" />...
408+
<MAP NAME="Chart1ImageMap"><AREA SHAPE="rect" HREF="http://www.SomeDomain.ca" COORDS="69,120,106,309" Target=_Blank></MAP>
409+
```
407410
408411
Because the entire string is appended to the \<MAP> tag, multiple attributes should be separated with a space.
409412
@@ -665,9 +668,12 @@
665668
666669
## Remarks
667670
When you set this property, a client-side image map will automatically be created, and a map area will be created with the HREF attribute set to the specified anchor or URL. This map area will also use the dimensions that correspond to the relevant chart element. For example, if the HREF property is set for a data point, then HTML code similar to the following will be generated at run time:
668-
669-
&lt;img id="Chart1" USEMAP="#Chart1ImageMap" src="ChartPic_000002.jpg?6735e83b-f0cd-4225-8be4-047695a61040" border="0" /&gt;\<BR>...\<BR>&lt;MAP NAME="Chart1ImageMap"&gt;\<BR>&lt;AREA SHAPE="rect" HREF="http://www.healthquotes.ca" COORDS= "69,120,106,309"&gt;\<BR>&lt;/MAP&gt;
670-
671+
672+
```html
673+
<img id="Chart1" USEMAP="#Chart1ImageMap" src="ChartPic_000002.jpg?6735e83b-f0cd-4225-8be4-047695a61040" border="0" />
674+
<BR>...<BR><MAP NAME="Chart1ImageMap"><BR><AREA SHAPE="rect" HREF="http://www.healthquotes.ca" COORDS= "69,120,106,309"><BR></MAP>
675+
```
676+
671677
Setting this property will have no effect if the <xref:System.Web.UI.DataVisualization.Charting.Chart.IsMapEnabled%2A> property is set to `false`. The default value is `true`.
672678
673679
> [!IMPORTANT]

xml/System.Web.UI.MobileControls/Link.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<format type="text/markdown"><![CDATA[
6161
6262
## Remarks
63-
On all devices, the link is rendered in such a way that the <xref:System.Web.UI.MobileControls.TextControl.Text%2A> property displays on the device to the user. When the user invokes the link, the browser navigates to the specified <xref:System.Web.UI.MobileControls.Link.NavigateUrl%2A> property. The application must contain code that verifies that a link is browsable on a particular device. For example, the link http://www.microsoft.com is not browsable on a WML-capable device.
63+
On all devices, the link is rendered in such a way that the <xref:System.Web.UI.MobileControls.TextControl.Text%2A> property displays on the device to the user. When the user invokes the link, the browser navigates to the specified <xref:System.Web.UI.MobileControls.Link.NavigateUrl%2A> property. The application must contain code that verifies that a link is browsable on a particular device. For example, the link <http://www.microsoft.com> is not browsable on a WML-capable device.
6464
6565
If the <xref:System.Web.UI.MobileControls.TextControl.Text%2A> property is empty, the value in the <xref:System.Web.UI.MobileControls.Link.NavigateUrl%2A> property is also used for the <xref:System.Web.UI.MobileControls.TextControl.Text%2A> property. Specifically, when the text writer renders a link, it first checks the <xref:System.Web.UI.MobileControls.TextControl.Text%2A> property for the text to display; if that property is empty, it displays the value of the <xref:System.Web.UI.MobileControls.Link.NavigateUrl%2A> property.
6666

xml/System.Web.UI/Control.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
<format type="text/markdown"><![CDATA[
342342
343343
## Remarks
344-
The <xref:System.Web.UI.Control.AppRelativeTemplateSourceDirectory%2A> property contains the application-relative path to the page or user control that contains the current control. For example, if the Web page resides at http://www.contoso.com/application/subdirectory, the <xref:System.Web.UI.Control.AppRelativeTemplateSourceDirectory%2A> property returns "~/subdirectory".
344+
The <xref:System.Web.UI.Control.AppRelativeTemplateSourceDirectory%2A> property contains the application-relative path to the page or user control that contains the current control. For example, if the Web page resides at `http://www.contoso.com/application/subdirectory`, the <xref:System.Web.UI.Control.AppRelativeTemplateSourceDirectory%2A> property returns "~/subdirectory".
345345
346346
To return the virtual path ("application/subdirectory"), use the <xref:System.Web.UI.Control.TemplateSourceDirectory%2A> property.
347347
@@ -4418,7 +4418,7 @@ HyperLink1.NavigateUrl = HyperLink1.GetRouteUrl("Product",
44184418
<format type="text/markdown"><![CDATA[
44194419
44204420
## Remarks
4421-
The <xref:System.Web.UI.Control.TemplateSourceDirectory%2A> property specifies the path to the page or user control that contains the current control. For example, if the Web page resides at http://www.contoso.com/application/subdirectory, the <xref:System.Web.UI.Control.TemplateSourceDirectory%2A> property returns "application/subdirectory".
4421+
The <xref:System.Web.UI.Control.TemplateSourceDirectory%2A> property specifies the path to the page or user control that contains the current control. For example, if the Web page resides at `http://www.contoso.com/application/subdirectory`, the <xref:System.Web.UI.Control.TemplateSourceDirectory%2A> property returns "application/subdirectory".
44224422
44234423
To return the application-relative virtual path ("~/subdirectory"), use the <xref:System.Web.UI.Control.AppRelativeTemplateSourceDirectory%2A> property.
44244424

xml/System.Web.UI/Page.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@
814814
<format type="text/markdown"><![CDATA[
815815
816816
## Remarks
817-
The <xref:System.Web.UI.Page.ClientQueryString%2A> property contains the query string portion of the URL requested by the browser. For example, if the requested URL is "http://www.contoso.com/default.aspx?id=100", the <xref:System.Web.UI.Page.ClientQueryString%2A> property will contain "id=100". The <xref:System.Web.UI.Page.ClientQueryString%2A> property is encoded; use the <xref:System.Web.HttpServerUtility.UrlDecode%2A?displayProperty=nameWithType> method to decode the query string.
817+
The <xref:System.Web.UI.Page.ClientQueryString%2A> property contains the query string portion of the URL requested by the browser. For example, if the requested URL is `http://www.contoso.com/default.aspx?id=100`, the <xref:System.Web.UI.Page.ClientQueryString%2A> property will contain "id=100". The <xref:System.Web.UI.Page.ClientQueryString%2A> property is encoded; use the <xref:System.Web.HttpServerUtility.UrlDecode%2A?displayProperty=nameWithType> method to decode the query string.
818818
819819
]]></format>
820820
</remarks>

xml/System.Web.UI/ViewStateException.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
<format type="text/markdown"><![CDATA[
206206
207207
## Remarks
208-
This property returns the same value as the `PATH_INFO` variable in the <xref:System.Web.HttpRequest.ServerVariables%2A> property. It returns the portion of the path after the host name. For example, in the URL http://www.contoso.com/virdir/page.html, <xref:System.Web.UI.ViewStateException.Path%2A> would return /virdir/page.html.
208+
This property returns the same value as the `PATH_INFO` variable in the <xref:System.Web.HttpRequest.ServerVariables%2A> property. It returns the portion of the path after the host name. For example, in the URL `http://www.contoso.com/virdir/page.html`, <xref:System.Web.UI.ViewStateException.Path%2A> would return /virdir/page.html.
209209
210210
211211

xml/System.Windows.Controls/WebBrowser.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private void goNavigateButton_Click(object sender, RoutedEventArgs e)
7171
// Only absolute URIs can be navigated to
7272
if (!uri.IsAbsoluteUri)
7373
{
74-
MessageBox.Show("The Address URI must be absolute eg 'http://www.microsoft.com'");
74+
MessageBox.Show("The Address URI must be absolute. For example, 'http://www.microsoft.com'");
7575
return;
7676
}
7777
@@ -714,7 +714,7 @@ private void goNavigateButton_Click(object sender, RoutedEventArgs e)
714714
// Only absolute URIs can be navigated to
715715
if (!uri.IsAbsoluteUri)
716716
{
717-
MessageBox.Show("The Address URI must be absolute eg 'http://www.microsoft.com'");
717+
MessageBox.Show("The Address URI must be absolute. For example, 'http://www.microsoft.com'");
718718
return;
719719
}
720720
@@ -825,7 +825,7 @@ private void goNavigateButton_Click(object sender, RoutedEventArgs e)
825825
// Only absolute URIs can be navigated to
826826
if (!uri.IsAbsoluteUri)
827827
{
828-
MessageBox.Show("The Address URI must be absolute eg 'http://www.microsoft.com'");
828+
MessageBox.Show("The Address URI must be absolute. For example, 'http://www.microsoft.com'");
829829
return;
830830
}
831831

xml/System.Windows.Xps.Serialization/XpsSerializerFactory.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
<format type="text/markdown"><![CDATA[
197197
198198
## Remarks
199-
This method always returns the [!INCLUDE[TLA#tla_uri](~/includes/tlasharptla-uri-md.md)] "http://www.microsoft.com".
199+
This method always returns the uniform resource identifier (URI) `http://www.microsoft.com`.
200200
201201
]]></format>
202202
</remarks>

0 commit comments

Comments
 (0)