Skip to content

Commit 44b5ac7

Browse files
authored
Escape tags for documentation
1 parent bef6271 commit 44b5ac7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/lib/icon/icon-registry.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class SvgIconConfig {
5656
}
5757

5858
/**
59-
* Service to register and display icons used by the <md-icon> component.
59+
* Service to register and display icons used by the `<md-icon>` component.
6060
* - Registers icon URLs by namespace and name.
6161
* - Registers icon set URLs by namespace.
6262
* - Registers aliases for CSS classes, for use with icon fonts.
@@ -142,7 +142,7 @@ export class MdIconRegistry {
142142
/**
143143
* Defines an alias for a CSS class name to be used for icon fonts. Creating an mdIcon
144144
* component with the alias as the fontSet input will cause the class name to be applied
145-
* to the <md-icon> element.
145+
* to the `<md-icon>` element.
146146
*
147147
* @param alias Alias for the font.
148148
* @param className Class name override to be used instead of the alias.
@@ -161,7 +161,7 @@ export class MdIconRegistry {
161161
}
162162

163163
/**
164-
* Sets the CSS class name to be used for icon fonts when an <md-icon> component does not
164+
* Sets the CSS class name to be used for icon fonts when an `<md-icon>` component does not
165165
* have a fontSet input value, and is not loading an icon by name or URL.
166166
*
167167
* @param className
@@ -172,15 +172,15 @@ export class MdIconRegistry {
172172
}
173173

174174
/**
175-
* Returns the CSS class name to be used for icon fonts when an <md-icon> component does not
175+
* Returns the CSS class name to be used for icon fonts when an `<md-icon>` component does not
176176
* have a fontSet input value, and is not loading an icon by name or URL.
177177
*/
178178
getDefaultFontSetClass(): string {
179179
return this._defaultFontSetClass;
180180
}
181181

182182
/**
183-
* Returns an Observable that produces the icon (as an <svg> DOM element) from the given URL.
183+
* Returns an Observable that produces the icon (as an `<svg>` DOM element) from the given URL.
184184
* The response from the URL may be cached so this will not always cause an HTTP request, but
185185
* the produced element will always be a new copy of the originally fetched icon. (That is,
186186
* it will not contain any modifications made to elements previously returned).
@@ -207,7 +207,7 @@ export class MdIconRegistry {
207207
}
208208

209209
/**
210-
* Returns an Observable that produces the icon (as an <svg> DOM element) with the given name
210+
* Returns an Observable that produces the icon (as an `<svg>` DOM element) with the given name
211211
* and namespace. The icon must have been previously registered with addIcon or addIconSet;
212212
* if not, the Observable will throw an error.
213213
*
@@ -252,7 +252,7 @@ export class MdIconRegistry {
252252
/**
253253
* Attempts to find an icon with the specified name in any of the SVG icon sets.
254254
* First searches the available cached icons for a nested element with a matching name, and
255-
* if found copies the element to a new <svg> element. If not found, fetches all icon sets
255+
* if found copies the element to a new `<svg>` element. If not found, fetches all icon sets
256256
* that have not been cached, and searches again after all fetches are completed.
257257
* The returned Observable produces the SVG element if possible, and throws
258258
* an error if no icon with the specified name can be found.

0 commit comments

Comments
 (0)