Home / themes / src / main / node_modules / patternfly / tests / pages / _plugins / strip.rb
# Replaces multiple newlines and whitespace # between them with one newline module Jekyll class StripTag < Liquid::Block def render(context) super.gsub /\n\s*\n/, "\n" end end end Liquid::Template.register_tag('strip', Jekyll::StripTag)