Skip to content

[Bug]: data URI syntax errors and percent-encoding errors #5754

@AlbertWiersch

Description

@AlbertWiersch

While testing https://assets.ubuntu.com/v1/vanilla_framework_version_4_44_0_min.css with CSS HTML Validator, there were 6 errors and they were all data URI errors. Maybe no one cares because browsers seem to work with/understand the common error but I would recommend fixing it anyway.

It's easy to fix by changing:
'data:image/svg+xml;utf8,'
to
'data:image/svg+xml;charset=utf-8,'

Two data: URI's also had percent-encoding issues.
'style="text-align:center;line-height:125%;-inkscape-font-specification:Ubuntu'
should be
'style="text-align:center;line-height:125%25;-inkscape-font-specification:Ubuntu'

I hope this helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions