This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree 1 file changed +3
-3
lines changed
tools/api-builder/angular.io-package/processors
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ module.exports = function addJadeDataDocsProcessor() {
95
95
} ) ;
96
96
97
97
// Remove line breaks, there should only be one tag
98
- howToUse = howToUseArray [ 0 ] . description . replace ( / ( \r \n | \n | \r ) / gm, "" ) ;
98
+ howToUse = howToUseArray [ 0 ] . description . replace ( / ( \r \n | \n | \r ) / gm, " " ) ;
99
99
}
100
100
101
101
var whatItDoes = '' ;
@@ -105,7 +105,7 @@ module.exports = function addJadeDataDocsProcessor() {
105
105
} ) ;
106
106
107
107
// Remove line breaks, there should only be one tag
108
- whatItDoes = whatItDoesArray [ 0 ] . description . replace ( / ( \r \n | \n | \r ) / gm, "" ) ;
108
+ whatItDoes = whatItDoesArray [ 0 ] . description . replace ( / ( \r \n | \n | \r ) / gm, " " ) ;
109
109
}
110
110
111
111
// SECURITY STATUS
@@ -119,7 +119,7 @@ module.exports = function addJadeDataDocsProcessor() {
119
119
} ) ;
120
120
121
121
// Remove line breaks, there should only be one tag
122
- security = securityArray [ 0 ] . description . replace ( / ( \r \n | \n | \r ) / gm, "" ) ;
122
+ security = securityArray [ 0 ] . description . replace ( / ( \r \n | \n | \r ) / gm, " " ) ;
123
123
124
124
exportDoc . showSecurityNotes = true ;
125
125
}
You can’t perform that action at this time.
0 commit comments