We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89a007e commit b66f213Copy full SHA for b66f213
assets/js/aws.permissions.cloud.js
@@ -40,7 +40,7 @@ function shortDocs(method, docs) {
40
return "-";
41
}
42
43
- let ret = docs[method].replace(/<note>.+<\/note>/gi, "").replace("</p>", " . ").replace(/(<([^>]+)>)/gi, "").split(". ")[0].trim();
+ let ret = docs[method].replace(/<note>.+?<\/note>/gi, "").replace("</p>", " . ").replace(/(<([^>]+)>)/gi, "").split(". ")[0].trim();
44
45
if (ret.substr(ret.length-1) != ".") {
46
ret += ".";
0 commit comments