Skip to main content
Known Participant
May 17, 2024
Answered

Line breaks automatically being deleted in RH2022.4 output

  • May 17, 2024
  • 9 replies
  • 2349 views

I use RH 2022. After the most recent upgrade to version 2022.4.179, my responsive HTML output automatically removes all line breaks from the content. So, all the white space I used in the content to increase readability disappears, and everything is just scrunched up. Adobe responded by saying it's a bug in 2022.4 and suggesting I use the   element as a workaround. However, it only temporarily changes the output and automatically gets deleted whenever I close and reopen the topic. Does anyone have any suggestions until Adobe resolves this issue? Also, this happens to all output formats - PDF, Word, Frameless, etc.

This topic has been closed for replies.
Correct answer dvrvb

Just an additional note:

for disappearing empty rows in a table, the fix is similar: just add to the CSS file for instance:

 

td:empty {
/*Enter desired values*/
padding-top: 12.5px;
padding-bottom: 12.5px;
}

9 replies

Peter Grainge
Community Expert
Community Expert
September 27, 2024

This fix is no longer needed in Update 5.

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

 

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
June 4, 2024

Apologies for further edits to this post,

 

The issue I am reporting here is only if the dropdown is in a table.

 

If you go to a previously created dropdown and try to add a new paragraph at the end of the content, the hotspot may get deleted.

 

The workround for now is to add the <p>x</p> tags in source view where x can be any character. An empty P tag did not work.

 

I have advised Adobe.

 

UPDATE 11 June 2024 - i have since established the dropdowns in a table is a separate issue not connected with the code to fix the line break issue. This too has been reported to Adobe.

________________________________________________________

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

 

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
May 22, 2024

Anyone who is still having issues will need to go to Support. I simply cannot break it in anything I have tried. See https://helpx.adobe.com/contact/enterprise-support.other.html#robohelp for your Adobe Support options. The email link tcssup@adobe.com is recommended as it reaches a team dedicated to Technical Communication Suite products including RoboHelp.

________________________________________________________

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

 

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
dvrvb
Inspiring
May 22, 2024

Anyway, (again) many thanks for the quick fix.

dvrvb
dvrvbCorrect answer
Inspiring
June 4, 2024

Just an additional note:

for disappearing empty rows in a table, the fix is similar: just add to the CSS file for instance:

 

td:empty {
/*Enter desired values*/
padding-top: 12.5px;
padding-bottom: 12.5px;
}

Peter Grainge
Community Expert
Community Expert
May 22, 2024

@dvrvb Are we talking about preview, generated output or published output?

________________________________________________________

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

 

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
dvrvb
Inspiring
May 22, 2024

Sorry for my incompleteness: I'm talking about the (locally) generated output, and viewed in FireFox.

Peter Grainge
Community Expert
Community Expert
May 22, 2024

I tried to emulate the issue in a new topic and couldn't break it.

 

When I created the new topic it did not apply the CSS that I had fixed. That was because I had not changed the default CSS in File > Project Settings. As a result the problem was still there. When I deleted the old CSS and applied the fixed one, all was correct.

 

If you go to Assets > CSS is there more than one CSS?

 

If you go to Reports > Topic List and select the Stylesheets option, does that give any clues?

________________________________________________________

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

 

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
May 21, 2024

Adobe have provided a fix for this problem.  You need to apply a simple change to your CSS file(s).

 

p:empty {
/*Enter desired values.*/
padding-top: 0.0pt;
padding-bottom: 16pt;
}

 

The values can be expressed in your preferred unit of measure. Here I have used points to help explain. In the CSS I tested with the normal <p> style font is 10 points with padding below of 6 points. Thus padding in the CSS of 16 points gives the same depth as a blank line.

 

Please post here if you find problems with any output using this solution.

________________________________________________________

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

 

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
dvrvb
Inspiring
May 21, 2024

Thanks for the quick fix! (I will post a confirmation after I have really tested it on my projects.)

dvrvb
Inspiring
May 21, 2024

On the project I've tested, it works fine! So, many thanks Peter for this solution.

Peter Grainge
Community Expert
Community Expert
May 20, 2024

The first step is that Adobe have been able to reproduce the problem. I hope to know more tomorrow.

________________________________________________________

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

 

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
sprite253Author
Known Participant
May 20, 2024

Thank you, Peter! 

dvrvb
Inspiring
May 20, 2024

Unfortunately I have the same experience with the automatic removal of the line breaks. Luckely I always make a backup of the projects before upgrading to a next version, because the same day I installed the update 2022.4, I deinstalled it and went back to the previous version. Hopefully there will be a fix soon so that we don't have to wait for 2022.5

sprite253Author
Known Participant
May 20, 2024

Thank you, that's a great suggestion. I'll do the same.

Peter Grainge
Community Expert
Community Expert
May 18, 2024

I can repeat it so it definitely looks like a bug. I have raised this with a contact and will post back when I know more. 

________________________________________________________

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

 

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.