lib/pages_core/extensions/string_extensions.rb
# frozen_string_literal: true
module PagesCore
module Extensions
module StringExtensions
def to_html_with(append, options = {})
to_html(options.merge(append:))
end
def to_html(options = {})
PagesCore::HtmlFormatter.to_html(self, options)
end
end
end
end
String.include PagesCore::Extensions::StringExtensions