Commit Graph

19 Commits (336e37d98f1b86c0332c9f260e27455a14714fa6)

Author SHA1 Message Date
Maksim Pechnikov baead4ea4b fix markdown formatting
6 years ago
Maksim Pechnikov 074fa790ba fix compile warnings
6 years ago
Vald 194869c7db added data attrs to twitter scrubber
6 years ago
Vald 3ccfe226c0 added data attrs for user and tag
6 years ago
href 5bb88fd174
Runtime configuration
6 years ago
scarlett 795634c90f Allow use of the `abbr` HTML tag.
6 years ago
William Pitcock 8613db0e3b html: ensure comments are correctly scrubbed
6 years ago
William Pitcock 595d855f0e html scrubbing policies: restrict img tags to http/https only for mediaproxy compatibility
6 years ago
Haelwenn (lanodan) Monnier 2154c5dcd8
lib/pleroma/html.ex: Use macros for valid_schemes, change config for schemes
6 years ago
Haelwenn (lanodan) Monnier d7654c77de
lib/pleroma/html.ex: Use a function as a variable (broken for some reason)
6 years ago
Haelwenn (lanodan) Monnier 50e0a9ae56
lib/pleroma/html.ex: Fix scheme lists
6 years ago
William Pitcock 7f0e291483 html: twittertext: add missing catchall scrub function
6 years ago
William Pitcock 8ae9424edb html: default to using normal scrub policy if provided scrub policy is nil
6 years ago
William Pitcock a7d0ecdc7c html: add policy which transforms inline images to pass through the media proxy
6 years ago
William Pitcock cd13fa17fd html: allow scrubbing policies to be stackable
6 years ago
William Pitcock 95376ac1fe html: add the ability to override the default scrub policy
6 years ago
William Pitcock 358f88e10a html: allow inline images by default (because of custom emoji)
6 years ago
William Pitcock 40e2f6e500 html: add default scrubbing profile and configuration knobs
6 years ago
William Pitcock 255f46d7ab html: new module providing a configurable markup scrubbing policy
6 years ago