Why does Middleman partial spit out "ZERO WIDTH NO-BREAK SPACE" in front of the partial content?

Is this a bug? If I use <%= partial(“myPartial”) %> and the content of my partial is “Hi”, I get “Hi”; You can’t see the character, but it’s “&#(65279);Hi” (I’m escaping with the parentheses). I’m using version 3.3.2. Help?

That shouldn’t happen. Could you file a bug that points to an example project that exhibits the problem?

Nevermind this issue. I found out what was wrong. I found out that Visual Studio saves my UTF8-encoded file with BOM which returns the no-break space at the beginning of the file. I fixed this by opening the file in notepad++ and save with the encoding “UTF-8 without BOM”.