oo

Using Liferay Util Whitespace Remover

The whitespace remover tag removes line breaks and tabs from code blocks included between the opening and closing of the tag. Below is an example configuration for the <liferay-util:whitespace-remover> tag:

with remover:

<liferay-util:whitespace-remover>
	<p>Here is some text with        tabs.</p>
</liferay-util:whitespace-remover>

result:

Here is some text withtabs.

Now you know how to use the <liferay-util:whitespace-remover> tag to ensure that your code formatting is consistent.