mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-03 23:16:50 +02:00
Set up CI with ESLint linter and Mocha test runner (#661)
This commit is contained in:
1 parent
812f8b6314
commit
f3641c8ce3
14 files changed
+1991
-38
No files matched your search
@@ -96,7 +96,7 @@ export class ContentAnonimizer {
|
||||
}
|
||||
// remove image in markdown
|
||||
return content.replace(
|
||||
/!\[[^\]]*\]\((?<filename>.*?)(?=\"|\))(?<optionalpart>\".*\")?\)/g,
|
||||
/!\[[^\]]*\]\((?<filename>.*?)(?="|\))(?<optionalpart>".*")?\)/g,
|
||||
() => {
|
||||
this.wasAnonymized = true;
|
||||
return config.ANONYMIZATION_MASK;
|
||||
|
||||
Reference in new issue
Block a user