You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: input descriptions keep their opening quote #326
Input descriptions written in quotes show up with a stray opening quote in hover, completion docs and the Component Browser details panel. description: 'OpenTofu version that should be used.' displays as 'OpenTofu version that should be used.
The cause is src/parsers/specParser.ts:302. substring(12) keeps the space after description:, so the ^["'] half of the regex never matches and only the closing quote is stripped. Trimming before the replace should fix it.
Steps to reproduce
Include gitlab.com/components/opentofu/validate-plan@4.9.0 with an inputs: block.
Hover opentofu_version under inputs:.
Observe the description starts with '.
The details panel for secret-detection shows the same thing with double quotes ("The stage where the secret detection scanning job will run.).
Expected behavior
The description shows without quotes.
Actual behavior
The opening quote stays, the closing one is removed.
Component context (if applicable)
Any component that quotes its input descriptions, which is most of gitlab.com/components.
Activity