Skip to content

Commit

Permalink
fixup! Standardize HTML sanitizing when preview email
Browse files Browse the repository at this point in the history
  • Loading branch information
dab246 committed Oct 23, 2024
1 parent f64cc96 commit 3efed22
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
6 changes: 3 additions & 3 deletions contact/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -996,9 +996,9 @@ packages:
dependency: transitive
description:
path: sanitize_html
ref: twake-supported
resolved-ref: "5b9986c42cc86c7e565c941648f875f2e1d2f7bd"
url: "https://github.com/dab246/dart-neats.git"
ref: support_mail
resolved-ref: c663ad93a659fce3c0d209a048fa93c6465ebedc
url: "https://github.com/linagora/dart-neats.git"
source: git
version: "2.1.0"
shelf:
Expand Down
6 changes: 3 additions & 3 deletions core/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -949,9 +949,9 @@ packages:
dependency: "direct main"
description:
path: sanitize_html
ref: twake-supported
resolved-ref: "5b9986c42cc86c7e565c941648f875f2e1d2f7bd"
url: "https://github.com/dab246/dart-neats.git"
ref: support_mail
resolved-ref: c663ad93a659fce3c0d209a048fa93c6465ebedc
url: "https://github.com/linagora/dart-neats.git"
source: git
version: "2.1.0"
shelf:
Expand Down
7 changes: 5 additions & 2 deletions core/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ dependencies:
url: https://github.com/dab246/languagetool_textfield.git
ref: twake-supported

# Sanitize_html is restricting Tags and Attributes. So some of our own tags and attributes (signature, public asset,...) will be lost when sanitizing html.
# TODO: We will change it when the PR in upstream repository will be merged
# https://github.com/google/dart-neats/pull/259
sanitize_html:
git:
url: https://github.com/dab246/dart-neats.git
ref: twake-supported
url: https://github.com/linagora/dart-neats.git
ref: support_mail
path: sanitize_html

### Dependencies from pub.dev ###
Expand Down
6 changes: 3 additions & 3 deletions model/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -973,9 +973,9 @@ packages:
dependency: transitive
description:
path: sanitize_html
ref: twake-supported
resolved-ref: "5b9986c42cc86c7e565c941648f875f2e1d2f7bd"
url: "https://github.com/dab246/dart-neats.git"
ref: support_mail
resolved-ref: c663ad93a659fce3c0d209a048fa93c6465ebedc
url: "https://github.com/linagora/dart-neats.git"
source: git
version: "2.1.0"
shelf:
Expand Down
6 changes: 3 additions & 3 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1718,9 +1718,9 @@ packages:
dependency: transitive
description:
path: sanitize_html
ref: twake-supported
resolved-ref: "5b9986c42cc86c7e565c941648f875f2e1d2f7bd"
url: "https://github.com/dab246/dart-neats.git"
ref: support_mail
resolved-ref: c663ad93a659fce3c0d209a048fa93c6465ebedc
url: "https://github.com/linagora/dart-neats.git"
source: git
version: "2.1.0"
server_settings:
Expand Down

0 comments on commit 3efed22

Please sign in to comment.