j0k3r / graby

Graby helps you extract article content from web pages
MIT License
365 stars 74 forks source link

Add support of referrerpolicy for img tags #201

Closed Kdecherf closed 5 years ago

Kdecherf commented 5 years ago

Use Graby::toggleImgNoReferrer(true) in your client to automatically set referrerpolicy="no-referrer" to all img tags.

Relates to https://github.com/wallabag/wallabag/issues/3889

Depends on https://github.com/fossar/HTMLawed/pull/3

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.01%) to 97.793% when pulling b92506b0dea239737e61bb11012305c613e47696 on Kdecherf:referrerpolicy into 55275bd3d25239d8228ad91fe1d1a3ccb1930c43 on j0k3r:master.

j0k3r commented 5 years ago

I fixed tests in the master, you should rebased against it (and remove the commit I made in your branch)

Kdecherf commented 5 years ago

It's all green :+1: