Copy link to clipboard
Copied
One of my colleagues is experiencing the strangest issue:
When editing a topic in the RoboHelp UI (RH 2022.3.93), the <strong></strong> attribute does not seem to apply to words in UPPERCASE. I have attached a screenshot to illustrate the issue. The text in the red rectangles should appear in bold.
Even text that should be boldened through the CSS is affected. In the attached screenshot, the line which starts with "Table A." is actually a H2 and has no inline formatting.
This only occurs while editing topics, within the RoboHelp UI. If we preview the topic in Google Chrome, everything looks as expected. The generated output is also fine. Also, when bold is applied to lowercase text (or Sentence-case text) everything is fine.
Stranger still, my colleague and I are both working on the same project, collaborating through GitHub integration. If I open the same topic on my computer, everything is fine on my side, even in the RoboHelp UI. The issue only occurs on my colleague's computer. We're both using Windows 11, and both using the Canadian-French version of both the Windows and RoboHelp UI.
I'm wondering if this could be caused by a regional setting or something? I've never seen this before and I have to admit I'm totally clueless as to what could be causing this!
Copy link to clipboard
Copied
Please select a whole paragraph with this problem, switch to source view and post the code.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
What's that look like in source code view in RH?
Copy link to clipboard
Copied
Here is the heading I mentioned, in code view. As you can see, there is no inline formatting here:
<h2>Table A.-E, FSS, CNT, CNESST et RQAP </h2>
Here is the CSS code that formats this heading:
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Satoshi", sans-serif;
line-height: normal;
}
h1 {
font-weight: 500;
font-size: 40px;
color: #000;
margin: 30px 0;
}
h2 {
font-weight: bold;
font-size: 30px;
color: #000;
margin: 20px 0;
}
Here are both paragraphs highlighted in the screenshot. Here, you can see that "CNT" and "RQAP" should be displayed is bold due to the <strong> tags, but this is somehow not working. (on my colleague's computer, that is...)
<p>Les deux nouvelles données de la section <strong>CNT </strong>de l'année fiscale 2022 ont été remplies en prévision de l'impression du nouveau rapport à la CNT mentionné précédemment.</p>
<p>Les deux nouvelles données de la section <strong>RQAP </strong>ont également été ajoutées pour toutes les années fiscales si les informations nécessaires au calcul sont présentes.</p>
Copy link to clipboard
Copied
There's a bug found in 2022.3 with grouped styles. I doubt that is the issue here but try copying your CSS and not using groups. The bug should be fixed in Update 4 whenever that is but that won't help you right now.
Alternatively there was a workaround posted. I quote
****************************************
Simply create a new, empty CSS file and import it into your actual CSS file:
@Import url(‘fixed_styles.css’);
In the new CSS file, simply list all styles that are missing from the list without any selectors, …:
h1 {}
h2 {}
p.Margintext {}
****************************************
In that example only h1 and h2 were grouped.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Are you both on the same update?
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Yes, we are both on 2022.3.93. That's weird, because my colleague is experiencing the issue and I am not.
Would you happen to have a link to the reported issue?
Copy link to clipboard
Copied
It was a very different issue. Search on grouped headings. If you can't find it, I'll look in the morning, late here. I doubt this is it as you are both on the same version.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Is there a style for the strong tag in your css? Perhaps it has bolding turned off, but then is somehow being overridden in the generated output. Or if there is no strong style, perhaps add it with bold applied to see if that fixes it in the RH editor - but do check it doesn't have unintended consequences in your output (double-bold text can sometimes look weird).
Copy link to clipboard
Copied
No, there is absolutely nothing for the string tag in the CSS. What's really weird is that applying the strong tag to lowercase words works correctly, although I did not have any examples of that in these paragraphs. It's the weirdest issue ever!
Copy link to clipboard
Copied
Although I am admittedly baffled by the unbolded capitals in your heading, which definitely don't have any tags around them, so should just display as normal h2 text... Good job on having one of the weirdest display issues I've seen 🙂
Copy link to clipboard
Copied
This is the topic I was thinking about but the more I think about it, I am doubtful it is related. However, it may be worth trying what I suggested first.
After that, I am wondering about corruption of your RoboHelp installation. It's not a common issue but neither is your problem. Can you install a trial version on another machine where RoboHelp will not be needed?
Regardless I would be trying an ininstall, reboot and reinstall.
Beyond that, there are a number of free HTML editors out there. Try the CSS and code in one of them.
Sorry there is nothing definite here. As @Amebr indicated, whackiest problem I have seen.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
The only thing I can think of with that misbehaving heading is that you've got some character encoding in there that isn't showing in the editor, but renders incorrectly. Have you tried manually re-entering it into a new topic, verifying that it displays correctly & copy it back into the original misbehaving topic?
Copy link to clipboard
Copied
Select the errant text and then paste it back in using CTRL Shift V. That removes all formatting.
If that works, then reapply the formatting.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Thanks everyone for your responses and suggestions!
I think at this point we will attempt to uninstall and do a clean re-install of RoboHelp on my colleague's PC.
I don't think that the issue comes from the topic or the CSS, as all of that works just fine on my own PC. I cannot reproduce this issue on my own system. We also have a consultant doing some specialized integrations for us, with access to our RoboHelp project on GitHub, and they can't reproduce this issue either.
To further rule out an issue with this specific topic, we checked out other topics (on my colleague's PC), and just adding an uppercase word within a H2 in any topic will reproduce the issue. Interestingly, adding words with sentence case or title case (first letter of each word capitalized), works just fine.
To completely rule out something weird happening with our project specifically, we created a brand new project with only the default CSS generated by RoboHelp and only one topic. Again, we reproduced the issue on my colleague's PC, but not on mine.
I'll report back after re-installing.
Copy link to clipboard
Copied
I for one am very much looking forward to seeing whether that fixes it.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Given we're out of sensible ideas, does your colleague have spell check dictionaries or ignored words set up in Robohelp preferences? Maybe something weird is going on with spell checking
Copy link to clipboard
Copied
Late thought, have you tried <bold> rather than <strong>. Doubt it will help but any port in a storm.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
This issue is the weirdest ever...
Unfortunately, uninstalling, cleaning up and reinstalling did not change a thing.
Out of desperation, I started to mess around in the CSS, which did have some effect, but did not entirely correct the issue. This led me to believe I may have done an incorrect manipulation when I tested a blank topic with a new CSS, do I tried that again while remotely connected to my colleague's PC:
Okay, so far so good, the problem seems to be originating from the CSS, but why is this only happening on my colleague's PC and not on mine or the consultant's?
Moving on:
p,
span {
font-size: 18px;
font-family: "Inter", sans-serif;
font-weight: 400;
line-height: 1.8rem;
}
3. I "un-grouped" the style to identify whether the problem came from the "P" or the "span":
p {
font-size: 18px;
font-family: "Inter", sans-serif;
font-weight: 400;
line-height: 1.8rem;
}
span {
font-size: 18px;
font-family: "Inter", sans-serif;
font-weight: 400;
line-height: 1.8rem;
}
4. Turns out commenting out the "span" fixes the font size part of the issue.
5. Further down the CSS, I found this:
span {
font-weight: normal;
}
6. commenting this out now fixes the issue with bold not applying to capitalized words.
So, what seems to be happening here is that the style defined for span applies to capitalized words, and that can somehow override inline styling, but only in the RoboHelp UI. everything is rendered correctly in the generated output.
Okay... So now, we are left with 2 questions:
1- Why/how is the style defined for <span> applying to capitalized words in the RoboHelp UI?
2- Why is this happening only on my colleague's PC and not on mine?
Copy link to clipboard
Copied
This sort of reminds me of a vague memory I have from many years ago, but I can't find a reference. It's why I asked about spell check on your colleague's computer. I vaguely remember someone reporting strange formatting for, I think, acronyms, and it had something to do with either glossary hotspots or spell check. (I said my memory on it was vague 🙂 ). I feel like something was "silently" adding spans.
So. Perhaps investigate the spelling dictionaries and ignored words on your colleagues computer. And compare the spellcheck settings between you and them. You might be able to find a file containing the dictionaries, so you can back them up to restore if they aren't causing problems - I haven't poked around enough to know where to look though.
Also, perhaps try opening a source topic in a text editor outside Robohelp. I know Classic "corrected" some html so it looked completely different in the editor compared to when viewed in a text editor. Perhaps the same thing is happening here, and you will find "silent" spans around the acronyms when viewed in a text editor.
Copy link to clipboard
Copied
While we do have spell checkers installed on both our PC's, they are not integrated with RoboHelp. We use Antidote, which is not supported "out-of-the-box" by RoboHelp, as far as I know. There may be a way to make it work, but we have not made any attempts at this.
I also checked that there were no glossary hotspots, and confirmed that the glossary "wizard" is not enabled.
I looked at the spell check options in RH, and confirmed that the user dictionary and stop words are empty, so it's not that.
Lastly, I did as you suggested and opened the file in a separate text editor (we use Notepad++). No difference whatsoever. Also, our project is source-controlled by Git and hosted on GitHub. Therefore, the slightest change in the file would be picked up by Git.
Copy link to clipboard
Copied
Have you both tried checking all back in and then taking fresh copies of the project?
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Okay, so far so good, the problem seems to be originating from the CSS, but why is this only happening on my colleague's PC and not on mine or the consultant's?
There surely has to be a difference between the project on the two machines. Something like Beyond Compare would check the code in both and hopefully find it.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Our project is source-controlled by Git and hosted on GitHub. Me and my colleague are working on the same branch. When we un-installed RoboHelp on her PC, we had previously disconnected the project from Git and deleted the local repository. After re-installing, we created the connection profile from scratch and cloned the repository from GitHub.
This means everything is brand-new and fresh. Also, the slightest differences are immediately picked up by Git. As soon as you open a topic and RH adds a trailing space of modifies the indentation in the code, Git picks it up.
Also, as I mentioned in my reply to @Amebr , I did look at a problematic file with Notepad++ while it was also open in RH, and there was nothing out of place. I used a test topic containing only two lines of text, so there wasn't much to look at in the code.
Copy link to clipboard
Copied
Clutching at straws now. Could you create a copy of the CSS and set all the fonts to something basic such as Arial?
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.