Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Bold not applying to UPPERCASE words in RoboHelp UI

Explorer ,
Dec 04, 2023 Dec 04, 2023

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.

No-bold.png

 

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!

745
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 04, 2023 Dec 04, 2023

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 04, 2023 Dec 04, 2023

What's that look like in source code view in RH?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 04, 2023 Dec 04, 2023

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&#39;année fiscale 2022 ont été remplies en prévision de l&#39;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>

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 04, 2023 Dec 04, 2023

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 04, 2023 Dec 04, 2023

Are you both on the same update?

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 04, 2023 Dec 04, 2023

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 04, 2023 Dec 04, 2023

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 04, 2023 Dec 04, 2023

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).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 05, 2023 Dec 05, 2023

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 04, 2023 Dec 04, 2023


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 🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2023 Dec 05, 2023

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2023 Dec 05, 2023

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2023 Dec 05, 2023

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 05, 2023 Dec 05, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2023 Dec 05, 2023

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2023 Dec 05, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2023 Dec 06, 2023

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 06, 2023 Dec 06, 2023

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:

 

  1. Creating a blank topic with no CSS, the issue does not occur.
  2. Assigning a CSS that contains only basic styles for headings and paragraphs does not reproduce the issue.
  3.  assigning our project's CSS to that new topic DOES reproduce the issue, contrary to my previous test.

 

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:

 

  1.  Created a "torture-copy" of the problematic CSS (so as not to modify the original) and assigned it to our test topic.
  2.  I found that commenting out the following style affected the capitalized words. Basically, in headings, the font size became consistent with the rest of the heading, telling me that the font-size property found here got applied somehow:
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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2023 Dec 06, 2023

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.

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 08, 2023 Dec 08, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2023 Dec 08, 2023

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 07, 2023 Dec 07, 2023

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 08, 2023 Dec 08, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2023 Dec 08, 2023

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp