Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove improper < HTML entity workaround no longer needed #259

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/howto-es2015-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export {
* Get the red, green, and blue values of a color.
* @function
* @param {string} color - A color, in hexadecimal format.
* @returns {Array.<number>} An array of the red, green, and blue values,
* @returns {Array.<number>} An array of the red, green, and blue values,
* each ranging from 0 to 255.
*/
rgbify as toRgb
Expand Down
2 changes: 1 addition & 1 deletion content/tags-author.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ address to a `mailto:` link.

```js
/**
* @author Jane Smith &lt;[email protected]>
* @author Jane Smith <[email protected]>
*/
function MyClass() {}
```
Expand Down
2 changes: 1 addition & 1 deletion content/tags-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Examples can also be captioned using `<caption></caption>` after the @example ta
```js
/**
* Solves equations of the form a * x = b
* @example &lt;caption>Example usage of method1.&lt;/caption>
* @example <caption>Example usage of method1.</caption>
* // returns 2
* globalNS.method1(5, 10);
* @returns {Number} Returns the value of x for the equation.
Expand Down
4 changes: 2 additions & 2 deletions content/tags-implements.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function Color() {}
* Get the color as an array of red, green, and blue values, represented as
* decimal numbers between 0 and 1.
*
* @returns {Array&lt;number>} An array containing the red, green, and blue values,
* @returns {Array<number>} An array containing the red, green, and blue values,
* in that order.
*/
Color.prototype.rgb = function() {
Expand All @@ -67,7 +67,7 @@ TransparentColor.prototype.rgb = function() {
* Get the color as an array of red, green, blue, and alpha values, represented
* as decimal numbers between 0 and 1.
*
* @returns {Array&lt;number>} An array containing the red, green, blue, and alpha
* @returns {Array<number>} An array containing the red, green, blue, and alpha
* values, in that order.
*/
TransparentColor.prototype.rgba = function() {
Expand Down
12 changes: 6 additions & 6 deletions content/tags-inline-link.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ By default, the example above produces output similar to the following:
::: example "Output for {@link} tags"

```html
See &lt;a href="MyClass.html">MyClass&lt;/a> and &lt;a href="MyClass.html#foo">MyClass's foo
property&lt;/a>. Also, check out &lt;a href="http://www.google.com">Google&lt;/a> and
&lt;a href="https://github.com">GitHub&lt;/a>.
See <a href="MyClass.html">MyClass</a> and <a href="MyClass.html#foo">MyClass's foo
property</a>. Also, check out <a href="http://www.google.com">Google</a> and
<a href="https://github.com">GitHub</a>.
```
:::

Expand All @@ -88,8 +88,8 @@ produce the following output:
::: example "Output with clever links enabled"

```html
See &lt;a href="MyClass.html">&lt;code>MyClass&lt;/code>&lt;/a> and &lt;a href="MyClass.html#foo">
&lt;code>MyClass's foo property&lt;/code>&lt;/a>. Also, check out
&lt;a href="http://www.google.com">Google&lt;/a> and &lt;a href="https://github.com">GitHub&lt;/a>.
See <a href="MyClass.html"><code>MyClass</code></a> and <a href="MyClass.html#foo">
<code>MyClass's foo property</code></a>. Also, check out
<a href="http://www.google.com">Google</a> and <a href="https://github.com">GitHub</a>.
```
:::
8 changes: 4 additions & 4 deletions content/tags-inline-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ Started," the example above produces output similar to the following:
::: example "Output for {@link} tags"

```html
See &lt;a href="tutorial-gettingstarted.html">Getting Started&lt;/a> and
&lt;a href="tutorial-dashboard.html">Configuring the Dashboard&lt;/a>.
For more information, see &lt;a href="tutorial-create.html">Creating a Widget&lt;/a> and
&lt;a href="tutorial-destroy.html">Destroying a Widget&lt;/a>.
See <a href="tutorial-gettingstarted.html">Getting Started</a> and
<a href="tutorial-dashboard.html">Configuring the Dashboard</a>.
For more information, see <a href="tutorial-create.html">Creating a Widget</a> and
<a href="tutorial-destroy.html">Destroying a Widget</a>.
```
:::
4 changes: 2 additions & 2 deletions content/tags-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function Color() {}
* Get the color as an array of red, green, and blue values, represented as
* decimal numbers between 0 and 1.
*
* @returns {Array&lt;number>} An array containing the red, green, and blue values,
* @returns {Array<number>} An array containing the red, green, and blue values,
* in that order.
*/
Color.prototype.rgb = function() {
Expand All @@ -84,7 +84,7 @@ The following example uses virtual comments, rather than code, to define the `Co
*
* @function
* @name Color#rgb
* @returns {Array&lt;number>} An array containing the red, green, and blue values,
* @returns {Array<number>} An array containing the red, green, and blue values,
* in that order.
*/
```
Expand Down
2 changes: 1 addition & 1 deletion content/tags-param.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function sayHello(somebody) {
*/
function sum(num) {
var i = 0, n = arguments.length, t = 0;
for (; i &lt; n; i++) {
for (; i < n; i++) {
t += arguments[i];
}
return t;
Expand Down
2 changes: 1 addition & 1 deletion content/tags-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ documented.
*/
function sum(num) {
var i=0, n=arguments.length, t=0;
for (; i&lt;n; i++) {
for (; i<n; i++) {
t += arguments[i];
}
return t;
Expand Down