Question
Reason for CDATA styles? And how to disable them?
RH 2017 (latest)
So, in some of our .htm pages, I noticed this style block kept appearing:
<style type="text/css">/*<![CDATA[*/
A:visited {
color: #954F72;
}
A:link {
color: #0563C1;
}
/*]]>*/</style>
This conflicts (takes precedence) with our style sheet, so I removed them. But what causes them to appear in the first place? I'm guessing it appears due to a copy and paste from Word into RH. Is that right?
If so, is there a setting somewhere that turns this off so that copy-pasting only pastes straight text? I've not seen anything like that setting, and so my usual process is to paste into something that strips out all inline styling first, like Np++. Then copy from there into RH.
I know in RH I can right-click on paragraphs, and choose Remove Attribute to get rid of inline styling at the paragraph level. But that doesn't do anything to this style block that gets added into the header.
Thank you.
