Skip to content

Conversation

@scottchiefbaker
Copy link
Contributor

@scottchiefbaker scottchiefbaker commented Aug 3, 2020

pod2html leaves the leading whitespace indentation in the HTML output. This PR removes leading whitespace so the <pre> output has an appropriate level of indentation.

This brings pod2html functionality similar to how Metacpan handles whitespace

This brings pod2html functionality similar to how Metacpan handles
whitespace
@scottchiefbaker scottchiefbaker force-pushed the pod2html_normalize_whitespace branch from deb3afa to 320e353 Compare August 3, 2020 21:02
@Grinnz
Copy link
Contributor

Grinnz commented Aug 3, 2020

This is definitely a good addition, one thing to consider is that this turns tabs into spaces as in metacpan/MetaCPAN-Pod-HTML#2 but this is probably not that important for this niche tool.

@scottchiefbaker scottchiefbaker force-pushed the pod2html_normalize_whitespace branch from f7a8181 to e93e9f7 Compare August 3, 2020 21:23
@scottchiefbaker
Copy link
Contributor Author

@haarg updated the PR to reflect this

@scottchiefbaker scottchiefbaker force-pushed the pod2html_normalize_whitespace branch from 3c167c4 to 64a9a8b Compare August 3, 2020 23:39
@khwilliamson
Copy link
Contributor

It looks like we also need a version bump on some modules to fix the failing tests, before this can be merged

@khwilliamson khwilliamson added the needs-work The pull request needs changes still label Aug 11, 2020
@scottchiefbaker
Copy link
Contributor Author

I bumped the version, and fixed a couple of failing tests.

@scottchiefbaker
Copy link
Contributor Author

This is just a ping to see what's next for this PR

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

Labels

needs-work The pull request needs changes still

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants