From c9e096f77abe99653d60f6d3aec03a95a4ffc002 Mon Sep 17 00:00:00 2001 From: aptx4869 Date: Sun, 17 Mar 2013 08:57:39 +0800 Subject: [PATCH] escap & to & --- lib/rack/livereload.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rack/livereload.rb b/lib/rack/livereload.rb index 82f34ef..99efffb 100644 --- a/lib/rack/livereload.rb +++ b/lib/rack/livereload.rb @@ -79,9 +79,9 @@ module Rack src = livereload_local_uri.dup.gsub('localhost', host_to_use) + '?' end - src << "&mindelay=#{@options[:min_delay]}" if @options[:min_delay] - src << "&maxdelay=#{@options[:max_delay]}" if @options[:max_delay] - src << "&port=#{@options[:port]}" if @options[:port] + src << "&mindelay=#{@options[:min_delay]}" if @options[:min_delay] + src << "&maxdelay=#{@options[:max_delay]}" if @options[:max_delay] + src << "&port=#{@options[:port]}" if @options[:port] template = ERB.new(::File.read(::File.expand_path('../../../skel/livereload.html.erb', __FILE__)))