Skip to content

Tag descriptions with continuation lines starting with * parsed incorrectly #445

Description

@tmdk

When a tag description contains continuation lines that begin with *, the * appears
twice in the parsed output. This affects block-style @param descriptions (common in
WordPress docblocks) where list items or @type alignment uses a leading star:

/**
 * @param array $foo {
 *     Description of foo.
 *
 *     @type string $bar Description of bar with
 *                       * a list
 *                       * spanning *multiple* lines
 * }
 */

The parsed description for $foo would incorrectly contain ** a list instead of
* a list.

Fixed in #444

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions