Skip to content

Commit

Permalink
remove sanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Apr 25, 2023
1 parent a4be94f commit 93c0995
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions shard.lock
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,6 @@ shards:
git: https://github.com/sija/retriable.cr.git
version: 0.2.4

sanitize:
git: https://github.com/straight-shoota/sanitize.git
version: 0.1.0+git.commit.75c141b619c77956e88f557149566cd28876398b

shards_spec:
git: https://github.com/mamantoha/shards_spec.git
version: 0.2.4
Expand Down
2 changes: 0 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ dependencies:
noir:
github: MakeNowJust/noir
branch: main
sanitize:
github: straight-shoota/sanitize
autolink:
github: crystal-community/autolink.cr
raven:
Expand Down
3 changes: 0 additions & 3 deletions src/helpers/helpers.cr
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ module Helpers
end

def to_markdown(repository : Repository, readme_content : String) : String
# sanitizer = Sanitize::Policy::HTMLSanitizer.common
# readme_content = sanitizer.process(readme_content)

options = Cmark::Option.flags(Unsafe, Nobreaks, ValidateUTF8)
extensions = Cmark::Extension.flags(Table, Strikethrough, Autolink, Tagfilter, Tasklist)

Expand Down
1 change: 0 additions & 1 deletion src/web.cr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ require "emoji"
require "humanize_time"
require "time_by_example"
require "autolink"
require "sanitize"
require "raven/integrations/kemal"

require "../config/config"
Expand Down

0 comments on commit 93c0995

Please sign in to comment.