graby icon indicating copy to clipboard operation
graby copied to clipboard

Disable inline style stripping using site config

Open lizyn opened this issue 4 years ago • 1 comments

Come here for a wallabag site config issue. The thing is, I'd like to stop stripping inline styles on specific sites, thus preserving special elements like highlight paragraphs defined by inline styles.

This behavior of stripping inline styles is controlled by pre_filters and post_filters under readability, that's what I got from previous issues.

So I wonder if this default behavior can be altered by site config files. The docs by FiveFilters don't cover this, for sure, since this update was made by you.

After searching this code base (sadly I can't read much code), I came to the conclusion that this can only be done by changing code directly when wallabag is deployed. Am I right?

lizyn avatar Feb 24 '20 18:02 lizyn

For now, we don't have such option to play with filters for readability. But this is something we already talked about and would like to implement.

j0k3r avatar Mar 30 '20 13:03 j0k3r