-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implements pdf from scratch #706
Conversation
string = string.replace(htmlRegex2, ''); | ||
const htmlRegex3 = /<span class='strong'>/g; | ||
string = string.replace(htmlRegex3, ''); | ||
const htmlRegexFinal = /<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>/g; |
Check failure
Code scanning / CodeQL
Inefficient regular expression
string = string.replace(htmlRegex2, ''); | ||
const htmlRegex3 = /<span class='strong'>/g; | ||
string = string.replace(htmlRegex3, ''); | ||
const htmlRegexFinal = /<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>/g; |
Check failure
Code scanning / CodeQL
Inefficient regular expression
const htmlRegex3 = /<span class='strong'>/g; | ||
string = string.replace(htmlRegex3, ''); | ||
const htmlRegexFinal = /<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>/g; | ||
string = string.replace(htmlRegexFinal, ''); |
Check failure
Code scanning / CodeQL
Incomplete multi-character sanitization
No description provided.