mozilla-l10n/langchecker

Deal with empty spaces around ## active ## tag

flodolo opened this issue · 1 comments

If a file has an active tag with trailing or starting white spaces:

  • Page is not reported as active
  • Tag is displayed as an extra tag "active"
  • Tag is reported as an error

Useful references in lib/l10n_utils/dotlang.py: TAG_REGEX and function lang_file_has_tag (active tag is treated like any other tag).