Skip to content

Commit 4e604f3

Browse files
authored
Changes lt/gt HTML tags to angle brackets in plaintext (#39458)
1 parent 8e7d73e commit 4e604f3

File tree

7 files changed

+35
-35
lines changed

7 files changed

+35
-35
lines changed

Diff for: content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/configuring-codeql-cli-in-your-ci-system.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ You can display the command-line help for any command using the <nobr>`--help`</
5353

5454
```shell
5555
# Single supported language - create one CodeQL database
56-
codeql database create &lt;database&gt; --command &lt;build&gt; \
57-
--language=&lt;language-identifier&gt;
56+
codeql database create <database> --command <build> \
57+
--language=<language-identifier>
5858

5959
# Multiple supported languages - create one CodeQL database per language
60-
codeql database create &lt;database&gt; --command &lt;build&gt; \
61-
--db-cluster --language=&lt;language-identifier&gt;,&lt;language-identifier&gt;
60+
codeql database create <database> --command <build> \
61+
--db-cluster --language=<language-identifier>,<language-identifier>
6262
```
6363

6464
{% note %}
@@ -134,18 +134,18 @@ $
134134
1. Run `codeql database analyze` on the database and specify which {% ifversion codeql-packs %}packs and/or {% endif %}queries to use.
135135

136136
```shell
137-
codeql database analyze &lt;database&gt; --format=&lt;format&gt; \
138-
--output=&lt;output&gt; {% ifversion codeql-packs %}--download &lt;packs,queries&gt;{% else %}&lt;queries&gt;{% endif %}
137+
codeql database analyze <database> --format=<format> \
138+
--output=<output> {% ifversion codeql-packs %}--download <packs,queries>{% else %}<queries>{% endif %}
139139
```
140140

141141
{% note %}
142142

143143
**Note:** If you analyze more than one {% data variables.product.prodname_codeql %} database for a single commit, you must specify a SARIF category for each set of results generated by this command. When you upload the results to {% data variables.product.product_name %}, {% data variables.product.prodname_code_scanning %} uses this category to store the results for each language separately. If you forget to do this, each upload overwrites the previous results.
144144

145145
```shell
146-
codeql database analyze &lt;database&gt; --format=&lt;format&gt; \
147-
--sarif-category=&lt;language-specifier&gt; --output=&lt;output&gt; \
148-
{% ifversion codeql-packs %}&lt;packs,queries&gt;{% else %}&lt;queries&gt;{% endif %}
146+
codeql database analyze <database> --format=<format> \
147+
--sarif-category=<language-specifier> --output=<output> \
148+
{% ifversion codeql-packs %}<packs,queries>{% else %}<queries>{% endif %}
149149
```
150150

151151
{% endnote %}
@@ -213,17 +213,17 @@ When you have decided on the most secure and reliable method for your CI server,
213213

214214
```shell
215215
# {% data variables.product.prodname_github_app %} or {% data variables.product.pat_generic %} available from a secret store
216-
&lt;call-to-retrieve-secret&gt; | codeql github upload-results \
217-
--repository=&lt;repository-name&gt; \
218-
--ref=&lt;ref&gt; --commit=&lt;commit&gt; \
219-
--sarif=&lt;file&gt; {% ifversion ghes or ghae %}--github-url=&lt;URL&gt; \
216+
<call-to-retrieve-secret> | codeql github upload-results \
217+
--repository=<repository-name> \
218+
--ref=<ref> --commit=<commit> \
219+
--sarif=<file> {% ifversion ghes or ghae %}--github-url=<URL> \
220220
{% endif %}--github-auth-stdin
221221

222222
# {% data variables.product.prodname_github_app %} or {% data variables.product.pat_generic %} available in GITHUB_TOKEN
223223
codeql github upload-results \
224-
--repository=&lt;repository-name&gt; \
225-
--ref=&lt;ref&gt; --commit=&lt;commit&gt; \
226-
--sarif=&lt;file&gt; {% ifversion ghes or ghae %}--github-url=&lt;URL&gt; \
224+
--repository=<repository-name> \
225+
--ref=<ref> --commit=<commit> \
226+
--sarif=<file> {% ifversion ghes or ghae %}--github-url=<URL> \
227227
{% endif %}
228228
```
229229

@@ -349,7 +349,7 @@ $ echo $OCTO-ORG_ACCESS_TOKEN | codeql database analyze --download /codeql-dbs/e
349349
If you want to download a {% data variables.product.prodname_codeql %} pack without running it immediately, then you can use the `codeql pack download` command. This is useful if you want to avoid accessing the internet when running {% data variables.product.prodname_codeql %} queries. When you run the {% data variables.product.prodname_codeql %} analysis, you can specify packs, versions, and paths in the same way as in the previous example:
350350

351351
```shell
352-
echo $OCTO-ORG_ACCESS_TOKEN | codeql pack download &lt;scope/name@version:path&gt; &lt;scope/name@version:path&gt; ...
352+
echo $OCTO-ORG_ACCESS_TOKEN | codeql pack download <scope/name@version:path> <scope/name@version:path> ...
353353
```
354354

355355
### Downloading {% data variables.product.prodname_codeql %} packs from multiple {% data variables.product.company_short %} container registries

Diff for: content/code-security/codeql-cli/getting-started-with-the-codeql-cli/analyzing-your-code-with-codeql-queries.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ codeql database analyze <database> --format=<format> --output=<output> <query-sp
7878
**Note:** If you analyze more than one {% data variables.product.prodname_codeql %} database for a single commit, you must specify a SARIF category for each set of results generated by this command. When you upload the results to {% data variables.product.product_name %}, {% data variables.product.prodname_code_scanning %} uses this category to store the results for each language separately. If you forget to do this, each upload overwrites the previous results.
7979

8080
```shell
81-
codeql database analyze &lt;database&gt; --format=&lt;format&gt; \
82-
--sarif-category=&lt;language-specifier&gt; --output=&lt;output&gt; \
83-
{% ifversion codeql-packs %}&lt;packs,queries&gt;{% else %}&lt;queries&gt;{% endif %}
81+
codeql database analyze <database> --format=<format> \
82+
--sarif-category=<language-specifier> --output=<output> \
83+
{% ifversion codeql-packs %}<packs,queries>{% else %}<queries>{% endif %}
8484
```
8585
{% endnote %}
8686

Diff for: content/code-security/codeql-cli/getting-started-with-the-codeql-cli/customizing-analysis-with-codeql-packs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ $ echo $OCTO-ORG_ACCESS_TOKEN | codeql database analyze --download /codeql-dbs/e
103103
If you want to download a {% data variables.product.prodname_codeql %} pack without running it immediately, then you can use the `codeql pack download` command. This is useful if you want to avoid accessing the internet when running {% data variables.product.prodname_codeql %} queries. When you run the {% data variables.product.prodname_codeql %} analysis, you can specify packs, versions, and paths in the same way as in the previous example:
104104

105105
```shell
106-
echo $OCTO-ORG_ACCESS_TOKEN | codeql pack download &lt;scope/name@version:path&gt; &lt;scope/name@version:path&gt; ...
106+
echo $OCTO-ORG_ACCESS_TOKEN | codeql pack download <scope/name@version:path> <scope/name@version:path> ...
107107
```
108108

109109
### Downloading {% data variables.product.prodname_codeql %} packs from multiple {% data variables.product.company_short %} container registries

Diff for: content/code-security/codeql-cli/getting-started-with-the-codeql-cli/uploading-codeql-analysis-results-to-github.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ When you have decided on the most secure and reliable method for your configurat
3636

3737
```shell
3838
# {% data variables.product.prodname_github_app %} or {% data variables.product.pat_generic %} available from a secret store
39-
&lt;call-to-retrieve-secret&gt; | codeql github upload-results \
40-
--repository=&lt;repository-name&gt; \
41-
--ref=&lt;ref&gt; --commit=&lt;commit&gt; \
42-
--sarif=&lt;file&gt; {% ifversion ghes or ghae %}--github-url=&lt;URL&gt; \
39+
<call-to-retrieve-secret> | codeql github upload-results \
40+
--repository=<repository-name> \
41+
--ref=<ref> --commit=<commit> \
42+
--sarif=<file> {% ifversion ghes or ghae %}--github-url=<URL> \
4343
{% endif %}--github-auth-stdin
4444

4545
# {% data variables.product.prodname_github_app %} or {% data variables.product.pat_generic %} available in GITHUB_TOKEN
4646
codeql github upload-results \
47-
--repository=&lt;repository-name&gt; \
48-
--ref=&lt;ref&gt; --commit=&lt;commit&gt; \
49-
--sarif=&lt;file&gt; {% ifversion ghes or ghae %}--github-url=&lt;URL&gt; \
47+
--repository=<repository-name> \
48+
--ref=<ref> --commit=<commit> \
49+
--sarif=<file> {% ifversion ghes or ghae %}--github-url=<URL> \
5050
{% endif %}
5151
```
5252

Diff for: content/get-started/getting-started-with-git/about-remote-repositories.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can use the `git remote add` command to match a remote URL with a name.
3434
For example, you'd type the following in the command line:
3535

3636
```shell
37-
git remote add origin &lt;REMOTE_URL>
37+
git remote add origin <REMOTE_URL>
3838
```
3939

4040
This associates the name `origin` with the `REMOTE_URL`.

Diff for: content/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ After you've initialized a Git repository, you can push the repository to {% dat
9898
1. [Add the URL for the remote repository](/get-started/getting-started-with-git/managing-remote-repositories) where your local repository will be pushed.
9999

100100
```shell
101-
$ git remote add origin &lt;REMOTE_URL>
101+
$ git remote add origin <REMOTE_URL>
102102
# Sets the new remote
103103
$ git remote -v
104104
# Verifies the new remote URL
@@ -124,7 +124,7 @@ After you've initialized a Git repository, you can push the repository to {% dat
124124
1. In the Command prompt, [add the URL for the remote repository](/get-started/getting-started-with-git/managing-remote-repositories) where your local repository will be pushed.
125125

126126
```shell
127-
$ git remote add origin &lt;REMOTE_URL>
127+
$ git remote add origin <REMOTE_URL>
128128
# Sets the new remote
129129
$ git remote -v
130130
# Verifies the new remote URL
@@ -150,7 +150,7 @@ After you've initialized a Git repository, you can push the repository to {% dat
150150
1. [Add the URL for the remote repository](/get-started/getting-started-with-git/managing-remote-repositories) where your local repository will be pushed.
151151

152152
```shell
153-
$ git remote add origin &lt;REMOTE_URL>
153+
$ git remote add origin <REMOTE_URL>
154154
# Sets the new remote
155155
$ git remote -v
156156
# Verifies the new remote URL

Diff for: content/packages/working-with-a-github-packages-registry/working-with-the-gradle-registry.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ publishing {
118118
}
119119
}
120120
publications {
121-
register&lt;MavenPublication>("gpr") {
121+
register<MavenPublication>("gpr") {
122122
from(components["java"])
123123
}
124124
}
@@ -133,7 +133,7 @@ plugins {
133133
}
134134
subprojects {
135135
apply(plugin = "maven-publish")
136-
configure&lt;PublishingExtension> {
136+
configure<PublishingExtension> {
137137
repositories {
138138
maven {
139139
name = "GitHubPackages"
@@ -145,7 +145,7 @@ subprojects {
145145
}
146146
}
147147
publications {
148-
register&lt;MavenPublication>("gpr") {
148+
register<MavenPublication>("gpr") {
149149
from(components["java"])
150150
}
151151
}

0 commit comments

Comments
 (0)