From 82208b8b9b85e32f54cf6ca827c4ec045ecf3557 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 25 Jun 2008 03:10:57 +0000 Subject: * lib/erb.rb (ERB::Compiler#compile): magic comment needs LF. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/erb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/erb.rb b/lib/erb.rb index c6e912912..e1f078285 100644 --- a/lib/erb.rb +++ b/lib/erb.rb @@ -518,7 +518,7 @@ class ERB def compile(s) out = Buffer.new(self) - out.push("# -*- coding: #{s.encoding} -*-") + out.push("# -*- coding: #{s.encoding} -*-\n") content = '' scanner = make_scanner(s) -- cgit