I’ve been struggling with this one a couple of times, so I thought I should share how I solved it.
Problem:
You are hosting or contributing to an open-source project on using SVN as source control.
You would like share Flex applications (and View Source) by accessing their public SVN URL.
Applications pages (HTML) show raw text.
Solution:
Make sure you set the SVN property svn:mime-type for each file:
- *.html: “text/html”
- *.css: “text/css”
- *.zip, *.swf, *.png: “application/octet-stream”