Skip to content

Unicode added in HREF / SRC link (only on Chrome) #6828

Closed
@MimyyK

Description

@MimyyK

Version

2.5.2

Reproduction link

https://codepen.io/MimyyMs/pen/Jrmgde

Steps to reproduce

Only on Chrome browser :

  1. Click the link or inspect the link HREF

What is expected?

No unicode in the HTML source.

On the other browsers (FireFox, IE, Edge, Safari) the link is not updated.

I have the same issue with <img src=""> and that broke my image.

What is actually happening?

The link in the HTML source is :

<a href="https://www.google.com/&#9;">My link 2</a>

VUEJS update my link and add a unicode in the HREF/SRC attributes and then broke the link.


I can resolve the issue with a correct link (without tab or line break) but without VUEJS I don't have this problem, link containing tab or line break is working as expected.
Either the tab and line break should be replaced in every browser or Chrome should not do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions