Skip to content

Commit

Permalink
Fix company name formatting in formatMarkdown function
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsvit committed Jan 31, 2024
1 parent c3af81b commit 86fba56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/helper/markdown/format_markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ let formatMarkdown = function () {
if(company === 'undefined value'){
return `No Company`;
} else {
company = company.replace(/[{}]/g, '');
return breakWords(company, 4)
}
}
Expand Down

0 comments on commit 86fba56

Please sign in to comment.