Is there a way to configure Piranha CMS not to add  's when editing html via the editor's "Source code" view? Copying and pasting indented html can result in some very ugly content if the white space / indenting isn't removed before pasting.
Or perhaps the html editor can be overridden some way to prevent this behaviour?
The editor used in Piranha CMS is Tiny MCE 4.0, which has quite a lot of configuration options. You can check out the documentation for the editor here!
As for overriding the default configuration, you can make a copy of the embedded partial view:
and place it in your application under:
~/Areas/Manager/Views/Shared/Partial
Your local file will then be used instead of the default one.
Regards!