Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve leading whitespace for wrapped list items.
The previous implementation indented subsequent wrapped lines by transforming the entire initial prefix into spaces. This implementation detects the leading whitespace present in the initial prefix, and uses the same whitespace (be it tabs, spaces, or some combination thereof) to indent subsequent lines. The non-whitespace portion of the initial prefix is still transformed into spaces as before.
- Loading branch information