Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1708

PR (2361): (maint) Improve Puppet::Util::Docs.scrub's handling of one-liners - nfagerlund

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 3.5.0
    • Component/s: None
    • Labels:
    • Template:

      Description

      (maint) Improve Puppet::Util::Docs.scrub's handling of one-liners

      Pull Request Description


      One-liner handling wasn't behaving as expected. Sometimes one-liners are
      buffered with extra newlines before and/or after, and in these cases, scrub
      wasn't catching the leading whitespace.

      This commit makes it behave as intended, and adds a test showing the intended
      behavior.


      (webhooks-id: 902a19597528f1caa687ad7e8c827bed)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gepetto-bot gepetto-bot
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support