@SafeHtml should support adding additional protocols

Description

I would like to use the @SafeHtml annotation, but I have embedded images using data URI.

1 <img src="data:image/png;base64,........" />

"data:" is not one of the default protocols allowed in the JSoup Whitelist, but adding additional protocols is supported. However, @SafeHtml does not support adding additional protocols.

Environment

None

Status

Assignee

Marko Bekhta

Reporter

Øyvind Horneland

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

5.3.4.Final

Priority

Minor