Skip to content

& escaped as &#xamp; instead of & in links to URLs with query strings #24

Description

@AnyOldName3

This is a regression since the upstream 3.49.2 release that Windows binaries are provided for - that would write &. I've not been able to determine when the regression was introduced as it wasn't obvious from the diffs for individual commits or overall diff, and C and French aren't my usual languages.

This isn't just a stylistic problem - &#xamp; isn't valid HTML, and doesn't produce an ampersand. The things that do are &, & and &.

This is a before and after for a website first done with upstream 3.49.2, and redone with the master branch of this fork:

image

In regular text, ampersands are left alone with the escaping (or lack thereof) they had originally, so it seems to be something related to how URLs are extracted and replaced.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions