File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -90,11 +90,7 @@ export class MatDrawerContent implements AfterContentInit {
90
90
91
91
92
92
/**
93
- * <mat-drawer> component.
94
- *
95
93
* This component corresponds to a drawer that can be opened on the drawer container.
96
- *
97
- * Please refer to README.md for examples on how to use it.
98
94
*/
99
95
@Component ( {
100
96
moduleId : module . id ,
Original file line number Diff line number Diff line change @@ -220,10 +220,11 @@ function getDirectiveOutputAlias(doc) {
220
220
function getDirectiveSelectors ( classDoc ) {
221
221
const directiveSelectors = getMetadataProperty ( classDoc , 'selector' ) ;
222
222
223
+
223
224
if ( directiveSelectors ) {
224
225
// Filter blacklisted selectors and remove line-breaks in resolved selectors.
225
226
return directiveSelectors . replace ( / [ \r \n ] / g, '' ) . split ( / \s * , \s * / )
226
- . filter ( s => s !== '' && ! s . includes ( 'mat ' ) && ! SELECTOR_BLACKLIST . has ( s ) ) ;
227
+ . filter ( s => s !== '' && ! s . includes ( 'md ' ) && ! SELECTOR_BLACKLIST . has ( s ) ) ;
227
228
}
228
229
}
229
230
Original file line number Diff line number Diff line change 1
1
< h4 class ="docs-api-h4 docs-api-class-name ">
2
2
< code > {$ class.name $}</ code >
3
3
</ h4 >
4
- < p class ="docs-api-class-description "> {$ class.description | marked | safe $}</ p >
4
+
5
+ {%- if class.description -%}
6
+ < p class ="docs-api-class-description "> {$ class.description | safe $}</ p >
7
+ {%- endif -%}
5
8
6
9
{%- if class.directiveSelectors -%}
7
- < div class ="docs-api-directive-selectors ">
10
+ < p class ="docs-api-directive-selectors ">
8
11
< span class ="docs-api-class-selector-label "> Selector:</ span >
9
12
{% for selector in class.directiveSelectors %}
10
13
< span class ="docs-api-class-selector-name "> {$ selector $}</ span >
11
14
{% endfor %}
12
- </ div >
15
+ </ p >
13
16
{%- endif -%}
14
17
15
18
{%- if class.directiveExportAs -%}
You can’t perform that action at this time.
0 commit comments