Skip to content

[docs] Font-face example has extra quotes #28236

@Aurelain

Description

@Aurelain
  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

The docs for v5 provide an example of self-hosting fonts.
This example contains a minor mistake:

src: "local('Raleway'), local('Raleway-Regular'), url(${RalewayWoff2}) format('woff2')";
unicodeRange: 'U+0000-00FF, ...,'

Expected Behavior 🤔

The quotes around src and unicodeRange should be removed:

src: local('Raleway'), local('Raleway-Regular'), url(${RalewayWoff2}) format('woff2');
unicodeRange: U+0000-00FF, ...,

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to the documentation.good first issueGreat for first contributions. Enable to learn the contribution process.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions