I'm developing a website locally in ExpressionEngine using MAMP Pro, and all of a sudden I'm getting the most bizarre issue.
My webfonts, served by Typekit, suddenly stopped functioning. Upon closer examination, I found that the second line of my Typekit embed code had been appended with Bud1% @
. Here's my full Typekit code, for reference:
<script type="text/javascript" src="//use.typekit.net/*******.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}Bud1% @</script>
To clarify, this code is only injected when viewed in a browser, not in my code editor. I haven't yet tested whether or not it's being injected in the production environment.
Searching SO for a similar issue yields this thread, indicating that the issue is caused in some fashion by the Finder's hidden .DS_STORE files, but doesn't clarify how to rectify the problem.
I've tried removing the .DS_STORE file from the directory and recreating the affected HTML file, to no avail.
To further clarify, I'm developing on OSX Mountain Lion (10.8.2), using Sublime Text 2 as my code editor and Safari for testing. ExpressionEngine 2.5.5 is the CMS I'm using, and the whole thing resides in a Git repository managed by Git Tower.
Any ideas!? Thanks in advance for any help.