Hard returns are often used to achieve a certain appearance, while not necessarily getting the semantic aspects right. For example, where a hard return is used to start a new paragraph, the tagging of the article will not reflect that actually a new paragraph started. Hard returns are often introduced through copy and paste, or through sloppy layout creation.

Use "Locate hard returns"

The Problem locator "Locate hard returns" finds three possible issues in our example document. Use the "Previous" and "Next" buttons to iterate through them.

In the example shown above, a hard return (officially called forced line break) has been used to deal with a long URL in a narrow line, and to control how it is split across lines. Using a discretionary line break character instead would be a much better idea (e.g. when exporting to an EPUB where different line breaks would show up, often leaving an ugly gap where the source document had a hard return).

Note: It will make it easier to judge what is going on in the text if you choose "Show Hidden Characters" under the Type" menu in InDesign.

Fix hard returns with the click of the "Fix" button

One way to fix this hard return would be to enter a discretionary line break character. If you don't know what the keyboard combination is to insert it - just click on "Fix", and MadeToTag will introduce it for you.

In some cases fixing the hard return may cause a new issue - the text on the following line may begin to be hyphenated - not something you want to do to a URL. In order to keep InDesign from hyphenating a word (or a URL< as in this case), simply enter a soft hyphen (formally called discretionary hyphen) at the beginning of the word (or part of URL as in this example), using "Cmd-Shift-minus".

Clean up by inserting a soft hyphen (Cmd-Shift-minus) at beginning of word or URL to stop Indesign from hyphenating

After fixing the hard return away by replacing it with a discretionary line break (using the Fix button in the MadeToTag Problem locator) and by cleaning up the result by un-hyphenating the URL portion that InDesign believes it should hyphenate through inserting a soft hyphen at the beginning of the word or URL part, we have the same visual appearance as before, but in a clearly structured way.