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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 3.5.0
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support