require 'set' # Hamlit::Parsers::Whitespace cares about "whitespace removal", # which is achieved by '<' or '>' after html tag. module Hamlit module Parsers module Whitespace def parse_whitespace_removal(scanner) if scanner.match?(//) @outer_removal.add(@current_indent) else @outer_removal.delete(@current_indent) end end end end end