I found the line that was causing most of my problem:
[wpv-post-body view_template='None']
When removed I had the correct lines showing but the shortcodes such as [wpv-post-title] were being expanded. I can find a solution by removing them but it would be nice if they can be retained.
Where do you put above codes into?
Could you describe more details for the question:
I want to be able to copy/paste the code to my templates/views/posts and pages with line feeds intact and no additional code added.
If it is theme file, you can use wordpress function do_shortcode() to render the both View shortcodes:
[wpv-post-body view_template='None']
[wpv-post-title]
And there is a build-in feature within Views
Content Templates – Custom Designs for Single-Pages without PHP https://toolset.com/documentation/user-guides/view-templates/
Content Templates let you create your own templates can help you create your own template for single post
What is the standard Edit field in a Post?
Is it post body?
You can not use the shortcode [wpv-post-body view_template='None'] in the post body, it will produce infinite loop problem.
I suggest you try with content template, see demo site:
1) Create a content template with the codes, you mentioned above: hidden link
user/pass: xgren/111111
2) Edit the single post, in section "Content template", choose above content template hidden link
See the result: hidden link
It works fine, I can not see the problem:
These are being expanded so the result is unpredictable.
If you are using above codes in a Views loop, you can specific the content name in shortcode [wpv-post-body], for example:
[wpv-post-body view_template='syntax-display-plugin-what-does-toolset-use']