5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-05 19:35:45 +00:00
panel/app/lib/core_extensions/string/strip_tags.rb

13 lines
217 B
Ruby

# frozen_string_literal: true
module CoreExtensions
module String
# Elimina el HTML
module StripTags
def strip_tags
ActionController::Base.helpers.strip_tags(self)
end
end
end
end