module Haml::Shared

def handle_interpolation(str)

Returns:
  • (String) - The text remaining in the scanner after all `#{`s have been processed

Other tags:
    Yieldparam: scan - The scanner scanning through the string
def handle_interpolation(str)
  scan = StringScanner.new(str)
  yield scan while scan.scan(/(.*?)(\\*)\#\{/)
  scan.rest
end