Forced formatting on custom coded blog template
Mar 7, 2018 1:33 AM
Hi, I'm facing an issue where css is pushed onto our custom coded blog template by the HubSpot platform.
I run every blog post via the TextEdit tool on OS to get rid of all formatting before pasting the content onto HubSpot, but for some reason random css ends up in the code and messes up the formatting I've done on HubSpot editor and then I end up going through and cleaning up the code manually, which is annoying and time consuming.
The issue in more detail
If I copy-paste text from a section to another when editing in Inline Mode, for some reason <span>copy-pasted text</span> appears to the pasted text. If I then try select a section of that copy pasted text which is inside the paragraph and try to style it as a heading, the whole <p>copy-pasted text</p> gets formatted as a heading.
I usually select the heading style from navigation — headings, and then it sometimes happens that the text styled as heading appears without the end tag (for example: </h4>) which means that everything after gets styled as a heading, which then messes up everything else I try to style later on.
I've contacted your customer support but weren't able to help.