Skip to content

Commit 89a007e

Browse files
committed
Remove note docs
1 parent b1ea3a3 commit 89a007e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/aws.permissions.cloud.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function shortDocs(method, docs) {
4040
return "-";
4141
}
4242

43-
let ret = docs[method].replace("</p>", " . ").replace(/(<([^>]+)>)/gi, "").split(". ")[0];
43+
let ret = docs[method].replace(/<note>.+<\/note>/gi, "").replace("</p>", " . ").replace(/(<([^>]+)>)/gi, "").split(". ")[0].trim();
4444

4545
if (ret.substr(ret.length-1) != ".") {
4646
ret += ".";

0 commit comments

Comments
 (0)