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.

Using the Liferay Util Param Tag

Using the Liferay Util Buffer Tag

Using the AUI Taglib

« Using Liferay Util ParamUsing the Clay Taglib in Your portlets »
Was this article helpful?
0 out of 0 found this helpful