-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve attribution protection for images (#2072)
* Use `DOMParser` and `textContent` to extract image author * Update image-attribution.service.spec.ts * Preserve newlines * Update image-attribution.service.ts * Update image-attribution.service.ts * Update image-attribution.service.ts * Update image-attribution.service.spec.ts * Improve attribution protection * Add test * Make attributnion calls parallel * Add tab * Add test specific for tabs * Use wikimedia commons instead of language specific wikipedia. * Fix lint --------- Related to #2066 Co-authored-by: zstadler <[email protected]>
- Loading branch information
Showing
5 changed files
with
93 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters