- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2014 07:45 PM
I'm trying to create a UI Page to display some information off the group form. However when I try to split a line using a <br/> tag, when it renders it is duplicated.
UI Page Code:
<j2:while test="$[groups.next()]">
<tr>
<td>$[groups.name]</td>
<td>$[groups.u_escalation_on_call_contact]</td>
<td>$[groups.manager.first_name] $[groups.manager.last_name]<br/>$[groups.manager.mobile_phone]</td>
<td>$[groups.manager.manager.first_name] $[groups.manager.manager.last_name]<br/>$[groups.manager.manager.mobile_phone]</td>
</tr>
</j2:while>
As Rendered:
<tr><td>Account & Access Management</td><td>877-504-6342</td><td>Todd Sears<br></br>(617) 529-6965</td><td>Courtney Harwood<br></br>(617) 312-9865</td></tr>
How can I prevent this?
Thank you ahead of time
-Matt
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2014 04:45 AM
Thanks Brad that worked, when I applied an element style of margin: 0px;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2014 04:45 AM
Thanks Brad that worked, when I applied an element style of margin: 0px;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2017 04:04 PM
Champion, thanks Brad!
<style> p.my_br { margin: 0px; }</style>
<p class="my_br">Line 1</p>
<p class="my_br">Line 2</p>
<p class="my_br">Line 3</p>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2014 01:46 PM
Don't ask me why but this fixes the issue.
${AMP}lt;br/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2014 05:23 PM
I tried this, but on my UI page it processes after the HTML. In other it shows up as text on the website, Because you are creating an HTML Entity, rather than code.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2014 08:50 AM
I've used that in all kinds of places to prevent duplicate BR's, even in the middle of a while like you are using. I do not use $[AMP]lt;br/>, so its always done in Level 1, not level 2.