The problem is not caused by the line endings in the HTML file. The problem is the smart HTML language template with name HTML5 which inserts the HTML block with additional empty lines.
The predefined language template file html-tpl.xml is not changed since UltraEdit for Windows v26.00. I use myself customized templates for HTML and have not recognized before that the installed template file for HTML contains smart multi-line templates being defined wrong since UltraEdit v26.00.
A quick fix is the language template file html-tpl.xml in the attached ZIP file which must be extracted to the folder %APPDATA%\IDMComp\UltraEdit\templates\language with replacing the existing file with same name on not being already customized by you.
Please note that the closing tags </div>, </form>, </script> and </table> are positioned wrong in the line after inserting the template div, form, script or table with the default configuration settings. That can be corrected only with disabling automatic indent and customize the multi-line templates.
Click on ribbon tab Layout in third group Lists on item Templates to open the Template List view. Right click on a template like the HTML template HTML5 and click on context menu item Add/Modify template to customize the template to your needs.
- html-tpl.zip (773 Bytes) 2
- HTML language template file with erroneous lines removed in the multi-line templates
Best regards from an UC/UE/UES for Windows user from Austria