Skip to content

Commit 19794bb

Browse files
committed
Escape tags for documentation
1 parent a5ca9ce commit 19794bb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/lib/icon/icon-registry.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class SvgIconConfig {
7070
}
7171

7272
/**
73-
* Service to register and display icons used by the <mat-icon> component.
73+
* Service to register and display icons used by the `<mat-icon>` component.
7474
* - Registers icon URLs by namespace and name.
7575
* - Registers icon set URLs by namespace.
7676
* - Registers aliases for CSS classes, for use with icon fonts.
@@ -101,7 +101,7 @@ export class MatIconRegistry {
101101
private _fontCssClassesByAlias = new Map<string, string>();
102102

103103
/**
104-
* The CSS class to apply when an <mat-icon> component has no icon name, url, or font specified.
104+
* The CSS class to apply when an `<mat-icon>` component has no icon name, url, or font specified.
105105
* The default 'material-icons' value assumes that the material icon font has been loaded as
106106
* described at http://google.github.io/material-design-icons/#icon-font-for-the-web
107107
*/
@@ -164,7 +164,7 @@ export class MatIconRegistry {
164164
/**
165165
* Defines an alias for a CSS class name to be used for icon fonts. Creating an matIcon
166166
* component with the alias as the fontSet input will cause the class name to be applied
167-
* to the <mat-icon> element.
167+
* to the `<mat-icon>` element.
168168
*
169169
* @param alias Alias for the font.
170170
* @param className Class name override to be used instead of the alias.
@@ -183,7 +183,7 @@ export class MatIconRegistry {
183183
}
184184

185185
/**
186-
* Sets the CSS class name to be used for icon fonts when an <mat-icon> component does not
186+
* Sets the CSS class name to be used for icon fonts when an `<mat-icon>` component does not
187187
* have a fontSet input value, and is not loading an icon by name or URL.
188188
*
189189
* @param className
@@ -194,7 +194,7 @@ export class MatIconRegistry {
194194
}
195195

196196
/**
197-
* Returns the CSS class name to be used for icon fonts when an <mat-icon> component does not
197+
* Returns the CSS class name to be used for icon fonts when an `<mat-icon>` component does not
198198
* have a fontSet input value, and is not loading an icon by name or URL.
199199
*/
200200
getDefaultFontSetClass(): string {
@@ -274,7 +274,7 @@ export class MatIconRegistry {
274274
/**
275275
* Attempts to find an icon with the specified name in any of the SVG icon sets.
276276
* First searches the available cached icons for a nested element with a matching name, and
277-
* if found copies the element to a new <svg> element. If not found, fetches all icon sets
277+
* if found copies the element to a new `<svg>` element. If not found, fetches all icon sets
278278
* that have not been cached, and searches again after all fetches are completed.
279279
* The returned Observable produces the SVG element if possible, and throws
280280
* an error if no icon with the specified name can be found.

0 commit comments

Comments
 (0)