Skip to content

Commit

Permalink
add encoding prefix to temporary xml files
Browse files Browse the repository at this point in the history
  • Loading branch information
EffinMaggie committed Dec 28, 2016
1 parent d7f91c0 commit 471fe91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ topologic-web.min.js: topologic-web.js
uglifyjs $^ -o $@ -c -m

topologic-web.js.xml: topologic-web.js
echo "<script type='text/javascript' xmlns='http://www.w3.org/1999/xhtml'><![CDATA[" > $@
echo "<?xml version='1.0' encoding='utf-8'?>" > $@
echo "<script type='text/javascript' xmlns='http://www.w3.org/1999/xhtml'><![CDATA[" >> $@
cat $^ >> $@
echo "]]></script>" >> $@

Expand Down

0 comments on commit 471fe91

Please sign in to comment.