Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes
By updating in5 to 3.7.8, I found an issue with missing "soft line break" within paragraph text (SHIFT+RETURN).

Regular line break works as expected, but it apply paragraph space, so I have always use "softLineBreak" (SHIFT+RETURN) and in5 transfer it to html as "<br>".

PS: I really appreciate your efforts to make in5 better and better, but please also take care, about excellent in5 legacy functionalities. You can imagine in5 users headache, while dealing with issues caused by in5 update functionality details.
in bugs by (680 points)
  

I made a test file and can see what you mean. I'm having our developer take a look. I'll let you know when I find out more.

Thanks Myra,

...as tomorrow I need to in5-export publication to be published, I will manually recheck   all "indd SoftLineBreaks" and insert "<br>" into html.

Uffff... quite annoying job and I really hope your developers will resolve this ASAP.
When I tested it, I did notice that exporting with text rendering set to Images or to SVG honors the soft returns. So, you could use either of those settings or try reverting to 3.7.7.

Hey Myra,

As most of us are using in5 as "export to html plugin", that means also to export "InDesign text" as "html text". ...otherwise we can use any image/svg exporting tool and present html pages as "svg" or "images".

Meanwhile, here is an example screenshoot from indesign:

Thank you for the additional information.
The development team is working on a fix to get it released ASAP.

1 Answer

+1 vote
 
Best answer

Justin just posted 3.7.9 that includes the fix.

by (21.2k points)
selected by

However, by my experience...

------

Working sample:

My first plain text line /softBrake/

my second bold line 

-----

NOT working example (/softBrake/ get lost):

My first plain text line /softBrake/

my second bold line

yep, that method worked. what i ended up with is as follows:
     Some text would be here /break/
     and some more here.

making the break the same style (or lack of style) as the following line produced the proper break in the html output. Thanks for the help!

Thank you for the additional insight. I've passed this information along to our developer.

To make sure the content is on the preferred lines, you could use the Split Text script (Window > Utilities > Scripts and in the Scripts panel, go to Application > Ajar Productions > Split Text.jsxbin - If you don't have the Split Text extension, you can get it here: 

Another alternative would be to keep Text Rendering as HTML text for all of your document with the exception of any text frames containing the affected soft returns by converting them to images by doing either of the following:

Use Object Export Options

  1. Select the text frame
  2. Go to Object > Object Export Options
  3. Select the EPUB and HTML tab
  4. Set Preserve Appearance From Layout to Rasterize Content
  5. Set the Format (PNG will maintain transparency)
  6. Set the Resolution to 150 for High Definition or 72 for Standard
  7. Go to in5 > Export HTML5 with in5... and go to the Advanced section of the export dialog
  8. Set Image Quality to Use Object Export Settings

or

Use Render Groups as Images (which will turn any other group in your document into an image)

  1. Group the content that you want to turn into an image (if there's nothing to group with it, you can use an invisible rectangle--one with no stroke and no fill)
  2. When you export (in5 > Export HTML5 with in5...), go to the Advanced section of the export dialog
  3. Select Render Groups as Images

Here's more information on converting text to images including how to set the Object Export Options as an Object Style that you could apply to multiple text frames:

thank you for additional options!
You're very welcome. :)