Skip to content

Commit a119fdc

Browse files
committed
replaced disallowed HTML tags, <li> and <code>
1 parent 82bcd02 commit a119fdc

33 files changed

+578
-578
lines changed

docs/boards/queries/query-by-date-or-current-iteration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Not all fields are valid for all work item types. Jump to [date fields](#date_fi
198198
---
199199
:::row:::
200200
:::column span="1":::
201-
Items closed during the current sprint (the <code><xref href="CurrentIteration" data-throw-if-not-resolved="False" data-raw-source="@CurrentIteration"></xref></code> macro references the sprint defined for the current team context)
201+
Items closed during the current sprint (the `<xref href="CurrentIteration" data-throw-if-not-resolved="False" data-raw-source="@CurrentIteration"></xref>` macro references the sprint defined for the current team context)
202202
:::column-end:::
203203
:::column span="2":::
204204
:::image type="content" source="media/q-by-done-current-iteration.png" alt-text="Screenshot of query editor, Clause for items closed during the current sprint.":::

docs/boards/queries/query-field-value.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You can use the comparison field operators&mdash;`=[Field], <>[Field], >[Field],
4949
:::column span="1":::
5050

5151
`Created By <>[Field] Closed By`
52-
State = Closed</code>
52+
State = Closed`
5353
:::column-end:::
5454
:::row-end:::
5555
:::row:::
@@ -69,7 +69,7 @@ You can use the comparison field operators&mdash;`=[Field], <>[Field], >[Field],
6969
:::column span="1":::
7070

7171
`Target Date <=[Field] Closed Date`
72-
State = Closed</code>
72+
State = Closed`
7373
:::column-end:::
7474
:::row-end:::
7575

docs/boards/queries/query-operators-variables.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ You can use the macros described in the following table to filter your queries b
577577
**[Any]**
578578
:::column-end:::
579579
:::column span="3":::
580-
Use with the **Work Item Type** or **State** fields to search across all work item types or across all states. For example, <code>Work Item Type=[Any]</code> won't place any filters based on the work item type.
580+
Use with the **Work Item Type** or **State** fields to search across all work item types or across all states. For example, `Work Item Type=[Any]` won't place any filters based on the work item type.
581581
:::column-end:::
582582
:::row-end:::
583583
---
@@ -616,7 +616,7 @@ You can use the macros described in the following table to filter your queries b
616616
**@Me**
617617
:::column-end:::
618618
:::column span="3":::
619-
Use with an identity or user account field to automatically search for items associated with your user or account name. For example, you can find work items that you opened with the clause <code>Created By=@Me</code>. For more examples, see [Query by assignment, workflow, or Kanban board changes](query-by-workflow-changes.md).
619+
Use with an identity or user account field to automatically search for items associated with your user or account name. For example, you can find work items that you opened with the clause `Created By=@Me`. For more examples, see [Query by assignment, workflow, or Kanban board changes](query-by-workflow-changes.md).
620620
:::column-end:::
621621
:::row-end:::
622622
---
@@ -634,7 +634,7 @@ You can use the macros described in the following table to filter your queries b
634634
**@Project**
635635
:::column-end:::
636636
:::column span="3":::
637-
Use with the **Team Project** field to filter for work items in other projects. For example, you can find all the work items in the currently selected project with the clause <code>Team Project=@Project</code>. The system automatically defaults to filtering based on the current project. For more information, see [Define a query, Query across projects](using-queries.md#across-projects).
637+
Use with the **Team Project** field to filter for work items in other projects. For example, you can find all the work items in the currently selected project with the clause `Team Project=@Project`. The system automatically defaults to filtering based on the current project. For more information, see [Define a query, Query across projects](using-queries.md#across-projects).
638638
:::column-end:::
639639
:::row-end:::
640640
---
@@ -661,7 +661,7 @@ You can use the macros described in the following table to filter your queries b
661661
**@StartOfDay** <sup>2</sup>
662662
:::column-end:::
663663
:::column span="3":::
664-
Use with a <code>DateTime</code> field to filter for work items that relate to the current date or with a plus/minus offset. For example, you can find all items closed in the last week with the clause <code>Closed Date&gt;=@StartOfDay-7</code>. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
664+
Use with a `DateTime` field to filter for work items that relate to the current date or with a plus/minus offset. For example, you can find all items closed in the last week with the clause `Closed Date&gt;=@StartOfDay-7`. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
665665
:::column-end:::
666666
:::row-end:::
667667
---
@@ -670,7 +670,7 @@ You can use the macros described in the following table to filter your queries b
670670
**@StartOfMonth** <sup>2</sup>
671671
:::column-end:::
672672
:::column span="3":::
673-
Use with a <code>DateTime</code> field to filter for work items that relate to the current month or with a plus/minus offset. For example, you can find all items created in the last three months with the clause <code>Created Date&gt;=@StartOfMonth-3</code>. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
673+
Use with a `DateTime` field to filter for work items that relate to the current month or with a plus/minus offset. For example, you can find all items created in the last three months with the clause `Created Date&gt;=@StartOfMonth-3`. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
674674
:::column-end:::
675675
:::row-end:::
676676
---
@@ -679,7 +679,7 @@ You can use the macros described in the following table to filter your queries b
679679
**@StartOfWeek** <sup>2</sup>
680680
:::column-end:::
681681
:::column span="3":::
682-
Use with a <code>DateTime</code> field to filter for work items that relate to the current week or with a plus/minus offset. For example, you can find all items changed in the last two weeks with the clause <code>Changed Date&gt;=@StartOfWeek-2</code>. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
682+
Use with a `DateTime` field to filter for work items that relate to the current week or with a plus/minus offset. For example, you can find all items changed in the last two weeks with the clause `Changed Date&gt;=@StartOfWeek-2`. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
683683
:::column-end:::
684684
:::row-end:::
685685
---
@@ -688,7 +688,7 @@ You can use the macros described in the following table to filter your queries b
688688
**@StartOfYear** <sup>2</sup>
689689
:::column-end:::
690690
:::column span="3":::
691-
Use with a <code>DateTime</code> field to filter for work items that relate to the current year or with a plus/minus offset. For example, you can find all features that have a Target Date scheduled within the current year with the clause <code>Target Date&gt;=@StartOfYear</code>. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
691+
Use with a `DateTime` field to filter for work items that relate to the current year or with a plus/minus offset. For example, you can find all features that have a Target Date scheduled within the current year with the clause `Target Date&gt;=@StartOfYear`. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
692692
:::column-end:::
693693
:::row-end:::
694694
---
@@ -697,7 +697,7 @@ You can use the macros described in the following table to filter your queries b
697697
**@TeamAreas**
698698
:::column-end:::
699699
:::column span="3":::
700-
Only use with the **Area Path** field to filter for work items whose area path corresponds to one assigned to a specific team. Requires you use the **=** operator. For example, you can find all items assigned to the area paths assigned to the Web team with the clause <code>Area Path=@TeamAreas [Fabrikam Fiber]\Web</code>. For more examples, see [Query by area or iteration path](query-by-area-iteration-path.md).
700+
Only use with the **Area Path** field to filter for work items whose area path corresponds to one assigned to a specific team. Requires you use the **=** operator. For example, you can find all items assigned to the area paths assigned to the Web team with the clause `Area Path=@TeamAreas [Fabrikam Fiber]\Web`. For more examples, see [Query by area or iteration path](query-by-area-iteration-path.md).
701701
The **@TeamAreas** macro is supported for Azure DevOps Server 2019 and later versions, and only when run from the web portal.
702702
:::column-end:::
703703
:::row-end:::
@@ -707,7 +707,7 @@ You can use the macros described in the following table to filter your queries b
707707
**@Today**
708708
:::column-end:::
709709
:::column span="3":::
710-
Use with a <code>DateTime</code> field to filter for work items that relate to the current date or to an earlier date. You can also modify the **@Today** macro by subtracting days. For example, you can find all items created in the last week with the clause <code>Created Date&gt;=@Today-7</code>. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
710+
Use with a `DateTime` field to filter for work items that relate to the current date or to an earlier date. You can also modify the **@Today** macro by subtracting days. For example, you can find all items created in the last week with the clause `Created Date&gt;=@Today-7`. For more examples, see [Query by date or current iteration](query-by-date-or-current-iteration.md).
711711
:::column-end:::
712712
:::row-end:::
713713
---

docs/boards/work-items/set-work-item-experience-vs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Each view supports the following tasks:
2222

2323
| **Default experience**|**Legacy experience**|
2424
|-----------------------|---------------------|
25-
|- [View and add work items](./view-add-work-items.md)|- [Add work items](../backlogs/add-work-items.md)<br/>- [Use the query editor to list and manage queries](../queries/using-queries.md)<br/>- [Organize query folders and set query permissions](../queries/set-query-permissions.md)<br/>- [Open query in Excel](../backlogs/office/bulk-add-modify-work-items-excel.md)<br/>- [Send email of query results list using Outlook](../work-items/email-work-items.md)<br/>- [Create reports from query in Excel](/previous-versions/azure/devops/report/admin/create-status-and-trend-excel-reports)<br/>(on-premises Azure DevOps Server only)</li></ul>|
25+
|- [View and add work items](./view-add-work-items.md)|- [Add work items](../backlogs/add-work-items.md)<br/>- [Use the query editor to list and manage queries](../queries/using-queries.md)<br/>- [Organize query folders and set query permissions](../queries/set-query-permissions.md)<br/>- [Open query in Excel](../backlogs/office/bulk-add-modify-work-items-excel.md)<br/>- [Send email of query results list using Outlook](../work-items/email-work-items.md)<br/>- [Create reports from query in Excel](/previous-versions/azure/devops/report/admin/create-status-and-trend-excel-reports)<br/>(on-premises Azure DevOps Server only)</br></ul>|
2626

2727
> [!NOTE]
2828
> If you want to quickly access a list of work items based on their assignment to you, following, mentioned, or recent updates; then use the new default experience. However, if you rely on accessing queries from Team Explorer, then we recommend that you set your Landing page to the legacy option.

docs/extend/develop/add-dashboard-widget.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ Add the below HTML in `hello-world.html`. We add the mandatory reference to `VSS
111111

112112
### Step 3: Your JavaScript
113113

114-
We use JavaScript to render content in the widget. In this article, we wrap all of our JavaScript code inside a <code>&lt;script&gt;</code> element in the HTML file. You can choose to have this code in a separate JavaScript file and refer it in the HTML file.
114+
We use JavaScript to render content in the widget. In this article, we wrap all of our JavaScript code inside a `&lt;script&gt;` element in the HTML file. You can choose to have this code in a separate JavaScript file and refer it in the HTML file.
115115
The code renders the content. This JavaScript code also initializes the VSS SDK, maps the code for your widget to your widget name, and notifies the extension framework of widget successes or failures.
116-
In our case, below is the code that would print &quot;Hello World&quot; in the widget. Add this <code>script</code> element in the <code>head</code> of the HTML.
116+
In our case, below is the code that would print &quot;Hello World&quot; in the widget. Add this `script` element in the `head` of the HTML.
117117

118118
```html
119119
<script type="text/javascript">
@@ -167,7 +167,7 @@ The `vss-extension.json` should always be at the root of the folder (in this gui
167167

168168
<a id="image" />
169169

170-
### Step 4: Your extension&#39;s logo: <code>logo.png</code>
170+
### Step 4: Your extension&#39;s logo: `logo.png`
171171

172172
Your logo is displayed in the Marketplace, and in the widget catalog once a user installs your extension.
173173

@@ -177,7 +177,7 @@ To support TFS 2015 Update 3, you need an additional image that is 330 px x 160
177177

178178
You can name these images however you want as long as the extension manifest in the next step is updated with the names you use.
179179

180-
### Step 5: Your extension&#39;s manifest: <code>vss-extension.json</code>
180+
### Step 5: Your extension&#39;s manifest: `vss-extension.json`
181181

182182
* ***Every*** extension must have an extension manifest file
183183
* Read the [extension manifest reference](./manifest.md)
@@ -381,8 +381,8 @@ Copy the file `hello-world.html` from the previous example, and rename the copy
381381
```
382382

383383
<br>
384-
Add a new <code>div</code> element right below the <code>h2</code> to hold the query information.
385-
Update the name of the widget from <code>HelloWorldWidget</code> to <code>HelloWorldWidget2</code> in the line where you call <code>VSS.register</code>.
384+
Add a new `div` element right below the `h2` to hold the query information.
385+
Update the name of the widget from `HelloWorldWidget` to `HelloWorldWidget2` in the line where you call `VSS.register`.
386386
This allows the framework to uniquely identify the widget within the extension.
387387

388388
```html
@@ -502,9 +502,9 @@ Replace the `// Do something with the query` comment with the below:
502502
```JavaScript
503503
// Create a list with query details
504504
var $list = $('<ul>');
505-
$list.append($('<li>').text("Query Id: " + query.id));
506-
$list.append($('<li>').text("Query Name: " + query.name));
507-
$list.append($('<li>').text("Created By: " + ( query.createdBy? query.createdBy.displayName: "<unknown>" ) ) );
505+
$list.append($('- ').text("Query Id: " + query.id));
506+
$list.append($('- ').text("Query Name: " + query.name));
507+
$list.append($('- ').text("Created By: " + ( query.createdBy? query.createdBy.displayName: "<unknown>" ) ) );
508508

509509
// Append the list to the query-info-container
510510
var $container = $('#query-info-container');
@@ -537,9 +537,9 @@ Your final `hello-world2.html` is as follows:
537537
.then(function (query) {
538538
// Create a list with query details
539539
var $list = $('<ul>');
540-
$list.append($('<li>').text("Query ID: " + query.id));
541-
$list.append($('<li>').text("Query Name: " + query.name));
542-
$list.append($('<li>').text("Created By: " + (query.createdBy ? query.createdBy.displayName: "<unknown>") ));
540+
$list.append($('- ').text("Query ID: " + query.id));
541+
$list.append($('- ').text("Query Name: " + query.name));
542+
$list.append($('- ').text("Created By: " + (query.createdBy ? query.createdBy.displayName: "<unknown>") ));
543543
544544
// Append the list to the query-info-container
545545
var $container = $('#query-info-container');
@@ -679,7 +679,7 @@ Your folder now looks like the following example:
679679
```
680680

681681
<br>
682-
Add the below HTML in <code>configuration.html</code>. We basically add the mandatory reference to the <code>VSS.SDK.min.js</code> file and a <code>select</code> element for the dropdown to select a query from a preset list.
682+
Add the below HTML in `configuration.html`. We basically add the mandatory reference to the `VSS.SDK.min.js` file and a `select` element for the dropdown to select a query from a preset list.
683683

684684
```html
685685
<!DOCTYPE html>
@@ -876,8 +876,8 @@ return {
876876
```
877877

878878
<br>
879-
The hard-coded query path in <code>getQueryInfo</code> should be replaced with the configured query path, which can be extracted from the parameter <code>widgetSettings</code> that is passed to the method.
880-
Add the below in the very beginning of the <code>getQueryInfo</code> method and replace the hard-coded querypath with <code>settings.queryPath</code>.
879+
The hard-coded query path in `getQueryInfo` should be replaced with the configured query path, which can be extracted from the parameter `widgetSettings` that is passed to the method.
880+
Add the below in the very beginning of the `getQueryInfo` method and replace the hard-coded querypath with `settings.queryPath`.
881881

882882
```JavaScript
883883
var settings = JSON.parse(widgetSettings.customSettings.data);

0 commit comments

Comments
 (0)