Delete redundant spaces after line break while importing HTML
Contents
[
Hide
]
Please use HTMLLoadOptions.delete_redundant_spaces property and set it true to delete all the redundant spaces coming after the line break tag. By default, this property is false and redundant spaces are preserved in the output excel files.
Effect of setting the HTMLLoadOptions.delete_redundant_spaces property to false and true
The following screenshot shows the effect of setting this property to false and true.
Delete redundant spaces after line break while importing HTML
Programming Sample
The following sample code shows the usage of the HTMLLoadOptions.delete_redundant_spaces property. Please set it true or false to get the output as shown in the above screenshot.