gulp-swig icon indicating copy to clipboard operation
gulp-swig copied to clipboard

Certain tags don't render

Open Timidfriendly opened this issue 9 years ago • 0 comments

Hi,

Have a problem outputting the following tags html:-

  • svg
  • main

Swig removes the whole inline svg tag leaving only the content of the sub tag.

eg.

<svg xmlns="http://www.w3.org/2000/svg" width="76" height="76" viewBox="0 0 76 76">
   <title>Offer</title>
    <desc>Offer</desc>
    <path fill="#191919" d="M0 0h74.006c1.101 0 1.994.893 1.994 1.994v74.006l-76-76z"/>
    <text transform="matrix(.707 .707 -.707 .707 18.569 9.141)" 
        fill="#fff" font-family="'Arial-BoldMT'" 
        font-size="13">aanbieding
    </text>
</svg>

results in an out put of

Offer

Timidfriendly avatar Oct 09 '15 06:10 Timidfriendly