Skip to content

background-image quote encoding #39

Description

@flcdrg

Seeing this invalid URL being logged in browser console for a post with image: front matter

GET
http://localhost:5080/2023/12/"/assets/2023/01/terraform-logo.png"

Looks like the double quotes in

mastheadStyle = $"background-image: url(\"{Context.GetLink(image)}\")";
are being HTML encoded

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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