Skip to content

SVG loader and and of lines #4145

@ecochard

Description

@ecochard

my svg contains end of lines
when I import it, it is uriencoded

import logo from "logo.svg"

the logo variable contains %0A sequences instead of \n (or nothing)

<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="647" height="145">
</svg>

is converted to

<?xml version="1.0" encoding="UTF-8"?>%0A<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="647" height="145">%0A</svg>

is that standard ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions