Copy link to clipboard
Copied
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>
Copy link to clipboard
Copied
IIRC, that stuff comes from Word doc imports (but I could be be wrong - it's been known to happpen 😁)
Copy link to clipboard
Copied
I believe it is caused by importing from Word.
Copy link to clipboard
Copied
Oh that thing is so annoying.
Robohelp Classic (from at least RH11) shows a style block, but if you open the topic in Notepad it's actually properties on the body tag. I made a Frankenscript I run on every imported doc to remove it, and the OriginalFile meta tag and all the formatting and MS styles.
Copy link to clipboard
Copied
There's a small freeware program called PureText. It installs itself under WIN + V (but you can change this if you want). It converts the contents of the clipboard into plain text before pasting it. It is program-independent so works for every program instead of just RH or just Excel etc.
I find it very useful. Paste normally: ctrl+v, paste plain: win+v.
The latest versions of Word prevent win+v to paste into it directly (there I use win+v and then immediately ctrl+v) , but pasting into RH works perfectly with just win+v.
Copy link to clipboard
Copied
Thanks everyone.
@Amebr - may I get a copy of your "Frankenscript"? I'd love to have that in my toolbox for when this happens again.