module PagesCore module Extensions module StringExtensions def to_html_with(append, options = {}) to_html(options.merge(append: append)) end def to_html(options = {}) PagesCore::HtmlFormatter.to_html(self, options) end end end end String.send(:include, PagesCore::Extensions::StringExtensions)