Skip to content

Does not parse %q() delimited strings in Puppet Resource API Types #263

Open
@michaeltlombardi

Description

@michaeltlombardi

Describe the Bug

A multiline description in the type definition of a resource which includes both single ' and double " quotes should be delimited by %q() - but this puts the literal string in the reference doc, including the %q() delimiters.

Expected Behavior

A validly delimited string should be written into the reference output without showing the delimiters.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Change the delimiters for any string in a Resource API type to %q(...) instead of '...' or "..."
  2. pdk bundle exec puppet strings generate --format markdown --out REFERENCE.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions