Skip to content

Fix label and value escaping#105

Merged
jongracecox merged 9 commits intomasterfrom
jongracecox/91-fix-escaping
Jan 11, 2025
Merged

Fix label and value escaping#105
jongracecox merged 9 commits intomasterfrom
jongracecox/91-fix-escaping

Conversation

@jongracecox
Copy link
Owner

Fix label and value escaping by defaulting to html escaping them. Provide Python and CLI args to allow reverting to old behavior of not escaping.

Fixes #91

Fix label and value escaping by defaulting to html escaping them.
Provide Python and CLI args to allow reverting to old behavior of
not escaping.

Fixes #91
Update the `inv --test.local` command to ensure that tests are run against
the correct version of the package. The invoke command has been updated to:

- Ensure the `anybadge` command is not available on the system to start with

- Ensure `pip` is available

- Pip install the local project

- Run tests

- Pip uninstall `anybadge`

The net result is that invoke will be more robust in terms of making sure the
installed version is in sync when running CLI tests.
Attempt to fix the package version bug by fetching the entire repo
in the package build workflow. This should get the tag so it can be
used when setting the version.

Closes #106.
@jongracecox jongracecox merged commit 25cdd69 into master Jan 11, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

anybadge doesn't escape < character

1 participant