Removing the Forced Line Breaks/Soft Enters/manual paragraph breaks from Indesign file.
We need to remove the Forced Line Breaks from Indesign manually for the content to be properly aligned in ePUB.
If we click the option “Forced Line Breaks” when exporting the ePUb file the forced line breaks are also removed from the codes snippets leaving extra spaces between the codes.
To explain in detail the screenshot is as follows:
In the below screenshot there are soft enters given in the paragraph to balance the text.
Where as in code Soft Enters are given in the code the content which is in blue, because the code is big enough and we cannot fit it in 1 line as its restricted to the printable area.
When exporting to ePUb if the “Remove Force Line Break” option is clicked. It removes the Forced line break all over the book, whereas we want the Line breaks to be retained in “Code Snippets” which are in blue color
Replacing the Soft enters and the Space bar spaces with no content/no space.
Request someone to please suggest some way to get out of this.