Class: PublifyApp::Textfilter::Smartypants
- Inherits:
-
TextFilterPlugin::PostProcess
- Object
- TextFilterPlugin
- TextFilterPlugin::PostProcess
- PublifyApp::Textfilter::Smartypants
- Defined in:
- lib/publify_textfilter_smartypants.rb
Class Method Summary collapse
Methods inherited from TextFilterPlugin::PostProcess
Methods inherited from TextFilterPlugin
available_filter_types, available_filters, component_name, config_value, default_config, default_helper_module!, filter_map, filter_type, help_text, inherited, logger, macro_filters, reloadable?, sanitize, short_name
Methods included from PublifyPlugins
#plugin_description, #plugin_display_name, #plugin_public_action, #plugin_public_actions
Class Method Details
.filtertext(text) ⇒ Object
11 12 13 |
# File 'lib/publify_textfilter_smartypants.rb', line 11 def self.filtertext(text) RubyPants.new(text).to_html end |