Skip to content

Commit 237400a

Browse files
committed
Add wasm stub
1 parent 06c6922 commit 237400a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rails-wasm/rails-wasm-shim/stubs/rails-html-sanitizer.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ class Sanitizer
44
def sanitize(html, ...) = html
55

66
def sanitize_css(style) = style
7+
8+
def self.full_sanitizer = self
79
end
810
end
911
end

0 commit comments

Comments
 (0)