lib/webby/renderer.rb
# This method will put filter guards around the given input string. This
# will protect the string from being processed by any remaining filters
# (specifically the textile filter).
#
# The string is returned unchanged if there are no remaining filters to
# guard against.
#
This method will put filter guards around the given input string. This
will protect the string from being processed by any remaining filters
(specifically the textile filter).

The string is returned unchanged if there are no remaining filters to
guard against.
This method will put filter guards around the given input string . This will protect the string from being processed by any remaining filters ( specifically the textile filter ) . The string is returned unchanged if there are no remaining filters to guard against .
def _guard( str )
    return str unless @_cursor
    if @_cursor.remaining_filters.include? 'textile'
      str = "<notextile>\n%s\n</notextile>" % str
    end
    str
  end
def _guard ( str ) return str unless @_cursor if @_cursor . remaining_filters . include? 'textile' str = "<notextile>\n%s\n</notextile>" % str end str end
This method will put filter guards around the given input string.
This method will put filter guards around the given input string .
str