flathub-infra / flatpak-builder-lint

A linter for flatpak-builder manifests
MIT License
48 stars 125 forks source link

desktop: Strip whitespace from key, value pairs #312

Closed bbhtt closed 6 months ago

bbhtt commented 6 months ago

Specification allows whitespace to be present before and after the = symbol, but this leads into the Icon or Exec key value not exactly matching the FLATPAK_ID. So strip it while parsing.

Fixes https://github.com/flathub-infra/flatpak-builder-lint/issues/311