Remove transliteration of tabs to spaces in literal commands. 

Tabs and spaces are still transliterated for line start/end and command start/end.

closes #2315


I’ll wait for consensus on what to use before I change anything. :P

As for other queries, I ran the full test suite both “before” and after the changes were made with the existing and new tests. They pass after the change, fail before.

-Erik

> On Jul 9, 2014, at 11:56 PM, Alexandr Morozov <notifications@github.com> wrote:
> 
> In server/buildfile.go:
> 
> > @@ -798,7 +798,7 @@ func (b *buildFile) Build(context io.Reader) (string, error) {
> >  		stepN      = 0
> >  	)
> >  	for _, line := range strings.Split(dockerfile, "\n") {
> > -		line = strings.Trim(strings.Replace(line, "\t", " ", -1), " \t\r\n")
> > +		line = strings.Trim(line, " \t\r\n")
> Yup :) Let's use TrimSpace everywhere 
> 
> —
> Reply to this email directly or view it on GitHub.
>