Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e18724 commit 96697f4Copy full SHA for 96697f4
docs/src/ngdoc.js
@@ -201,7 +201,7 @@ Doc.prototype = {
201
}
202
});
203
flush();
204
- this.shortName = this.name.split(/[\.:#]/).pop();
+ this.shortName = this.name.split(/[\.:#]/).pop().trim();
205
this.id = this.id || // if we have an id just use it
206
(((this.file||'').match(/.*\/([^\/]*)\.ngdoc/)||{})[1]) || // try to extract it from file name
207
this.name; // default to name
@@ -737,7 +737,7 @@ function metadata(docs){
737
for ( var i = 1; i < path.length; i++) {
738
path.splice(i, 1);
739
740
- var shortName = path.pop();
+ var shortName = path.pop().trim();
741
742
if (path.pop() == 'input') {
743
shortName = 'input [' + shortName + ']';
0 commit comments