• Resolved Barton

    (@thebarton)


    I have a data url that is url encoded, and for some reason when I turn FVM on, it changes the code to have a duplicated http in front of it.

    Here’s part of the original:

    %22%20xmlns%3D%22http%3A//www.w3.org/2000/svg

    And here’s what it turned into after I enable FVM:

    %22%20xmlns%3D%22http%3Ahttp://www.w3.org/2000/svg

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Raul P.

    (@alignak)

    HI,

    I think that happens because you are urlencoding the http:// part… from what I saw at the specification, it should not be urlencoded.

    FVM is just adding the correct http:// between http%3A and www.w3.org/2000/svg so you need to not urlencode the xml properties… those are not real urls.

    Also, you probably don’t know, but you should not convert svg to inline data, if possible: https://css-tricks.com/probably-dont-base64-svg/

    Thread Starter Barton

    (@thebarton)

    That’s just a blog post with someone’s opinion on something that doesn’t fit my use case. I can write a blog too saying the opposite.

    Anyway, possible to look into the issue?

    Plugin Author Raul P.

    (@alignak)

    where’s the page url where this happens?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Minify CSS is adding duplicated http’ is closed to new replies.