Description
(maint) Improve Puppet::Util::Docs.scrub's handling of one-liners
- Author: Nick Fagerlund <>
- Company:
- Github ID: nfagerlund
- Pull Request 2361 Discussion
- Pull Request 2361 File Diff
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)