Skip to content

Commit

Permalink
chore(action): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kilchenmann committed Jul 14, 2021
1 parent 29c25eb commit ab088df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class LinkifyPipe implements PipeTransform {
let stylizedText: string = '';
if (value && value.length > 0) {
for (let str of value.split(' ')) {
// if string/url ends with a full stop '.' or colon ':' or coma ',' or semicolon ';' the pipe will not recognize the url
// if string/url ends with a full stop '.' or colon ':' or comma ',' or semicolon ';' the pipe will not recognize the url
const lastChar = str.substring(str.length - 1);
const endsWithFullStop = (lastChar === '.' || lastChar === ':' || lastChar === ',' || lastChar === ';');
let end = ' ';
Expand Down

0 comments on commit ab088df

Please sign in to comment.