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.
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
...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;
}
Copy link to clipboard
Copied
Anyway, (again) many thanks for the quick fix.
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;
}
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.
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.