Stop stripping new lines and instead make parsed post types post_content private
This fixes the issue where new lines were being stripped from <pre> blocks.
Stripping new lines was a bandaid fix to begin with, and bled through in <pre> blocks. Rather than putting a bandaid over a bandaid, this changes the approach. At the same time we look to grab additional data from the parsing. Namely the raw summary and the raw docblock itself.
This is a replacement for the work in #165 which was the bandaid/bandaid fix, but the issue has more history.
Initial pass at a patch for DevHub posted on Meta Trac (https://meta.trac.wordpress.org/ticket/1508)
Kind of meta, but the wp_parser_autop_blacklist hook needs a DocBlock ;)
haha! so very true! I will add one when I find some more time to work on the parser.