Skip to content

Font Tags Stripped by Vue #4348

Closed
Closed
@khamer

Description

@khamer

Vue.js version

2.0.2

Reproduction Link

What is Expected?

I would expect <font> tags to be left alone – but if Vue is intentionally stripping invalid HTML tags, I'd expect <blink> and such to be stripped instead.

What is actually happening?

<font> tags appear to be stripped or hidden. Although it's a deprecated tag, other deprecated tags (like <center> and <blink>) aren't stripped, and there's some systems that are sufficiently behind the times (looking at you xdebug) which still render out HTML that contains <font> tags.

Digging a little further, is I remove font from makeMap() for isSVG, then the <font> tags are left alone.

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