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

Line breaks automatically being deleted in RH2022.4 output

Explorer ,
May 17, 2024 May 17, 2024

Copy link to clipboard

Copied

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.

TOPICS
Output presets

Views

936

Translate

Translate

Report

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

correct answers 2 Correct answers

Community Expert , May 21, 2024 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

...

Votes

Translate

Translate
Explorer , Jun 03, 2024 Jun 03, 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;
}

Votes

Translate

Translate
Explorer ,
May 22, 2024 May 22, 2024

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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 ,
Jun 03, 2024 Jun 03, 2024

Copy link to clipboard

Copied

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;
}

Votes

Translate

Translate

Report

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 ,
Jun 04, 2024 Jun 04, 2024

Copy link to clipboard

Copied

Thank you for posting that additional bit of 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.

Votes

Translate

Translate

Report

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 ,
Jun 04, 2024 Jun 04, 2024

Copy link to clipboard

Copied

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

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 ,
Sep 26, 2024 Sep 26, 2024

Copy link to clipboard

Copied

LATEST

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.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

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