File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ function getMarkdownLinks(text: string) {
320
320
* @param link - The link to validate.
321
321
* @param isOnPhishingList - The function that checks the link against the
322
322
* phishing list.
323
- * @param allowedProtocols - Allowed protocols (example: ['https:'])
323
+ * @param allowedProtocols - Allowed protocols (example: ['https:']).
324
324
*/
325
325
function validateLink (
326
326
link : string ,
@@ -354,7 +354,7 @@ function validateLink(
354
354
* @param text - The text to verify.
355
355
* @param isOnPhishingList - The function that checks the link against the
356
356
* phishing list.
357
- * @param allowedProtocols - Allowed protocols (example: ['https:'])
357
+ * @param allowedProtocols - Allowed protocols (example: ['https:']).
358
358
* @throws If the text contains a link that is not allowed.
359
359
*/
360
360
export function validateTextLinks (
@@ -376,7 +376,7 @@ export function validateTextLinks(
376
376
* @param node - The JSX node to walk.
377
377
* @param isOnPhishingList - The function that checks the link against the
378
378
* phishing list.
379
- * @param allowedProtocols - Allowed protocols (example: ['https:'])
379
+ * @param allowedProtocols - Allowed protocols (example: ['https:']).
380
380
*/
381
381
export function validateJsxLinks (
382
382
node : JSXElement ,
You can’t perform that action at this time.
0 commit comments