chyingp / grunt-inline

Brings externally referenced resources, such as js, css and images, into a single file.
MIT License
86 stars 55 forks source link

Stop it from inlining fonts #36

Open seriema opened 10 years ago

seriema commented 10 years ago

I ran grunt-inline on my page, and got this:

<style>�PNG


IHDR��=��"IDATx���gtT׵�Y�z�//qb�$6<^0E5P*H�:�r��#       �b\���� ��!�4�`����"�D�P��w�F��h4�2��>LU���x��~ҝ����}��g���w��'zL���(6�N?��t�X���F4f&u�j=��+OX
�^g�S.?~
�l���4�?�R�S��
�6����tCf�J�����?n�s�!����}�y�
������}x`�֛i״���y�V|�����N����V���M[;�����ʍN�0��<��6ҋA50����^:������=����1��ĭ����H��
��y��ڣD��-�DB�D���<�pѕ\9�P!͓��pi�_n񊈥T$C�%��s�A7��`_� ���+[����\}��=�G�6q:���Z}�d�|`��n!�c�zEB�!n.��"c*���4ߋ���a����"���5
��Lp��h����bw���9XHN�3�jtx(Ea���6ͽ��`��<2��&���B(⼡܉#�1�N�J�%�E�Pc��p��+6��1f)������{p8#X"��R�g�u�Fۂ}:��q��N�a\>%ut<,��q�Lh�i}v��u,�%���G
%M۹r���'��Z���}9@����_��6�,R��?`c�+2!BD~�?k�*��Ww�\Q��������\��W8��6򱚈`���s=�]gs��~���Y�&����zz�
�F�������^~m���*����%„�9��O��6+\�t��L&�Fo�/��    )"�   q�-����V`W��ߛ��'��\�Z:=8&��C6K^!$"��&���{D����c��m��!"thP��'˒HK$�Ȃ�l6�-"D��g򟬎q#a��f�i�C3c!!���W�H�� ��x����;!��S����K��h�cWc�X���6�V��@��1U������Ɂ�!���h�j�%�?��?rQ*�����G�B9$o/4�F�;y�`mT!Ԣ�)/��3�ք��%��m��SLl�!%�����K�l�]��S�r�8��e�C�$\č��?��+��    ��A�:���g�A�48g�
��sB�˹��}�b��2��X[oOB���Ҕ�dۂ�ϵl�5���oM�bg�V`�5,��.�Q��O�����Ⱥ��D+XK��FBx�S��$�"�f�3�CN�_�7e.�*?+.�'v�5�a �>8�"�r<?����֞K3�g\>d
l�nD2!D4�K�Vo`�ѭ��e�f.�h1bmV��AH�A�q����A�v�up`
'͚�V3(��eT���$^��%��Y����^���ڇ"�n`&�h8�Y^Q��1����ޯ�My��̔����o}w���.^�n�(�-Q����BN�#`�.�cی(B��u�}����7^��G�Ϸ����#;����Vb߱OO���/֟����˙�p3%I%$�E˒��qn��^4!$��ל�{9-
etc

Yes, those are some crazy characters. What happened? It also left out most of the HTML.

No error is given in the terminal.

I'm using @font-face in the beginning of my CSS. Maybe that's what's causing it to flip out? Why is it inlining font files? The tag option doesn't allow me to inline everything except crazy stuff that can't/shouldn't be inlined.