space before/after link in UI page

User150433
Tera Guru

In UI page for below code there is no space before and after the link as shown in the attachment. Is there a way to add space??



<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
aaaaa <a class="web" href="http://www.google.com" target="_new">Learn more</a> bbbb
</j:jelly>
12 REPLIES 12

Cool.. that worked..Thank you..


DrewW
Mega Sage
Mega Sage

Oh ya and that to...


Hi, I also face the same error i.e. "The entity "nbsp" was referenced, but not declared. in one of my ajax call response in a UI page.



But, the strange thing is, this is happening only for one specific customer and for rest everything is working fine. As per my understanding, the behaviour should be same for all. Any idea about this....



Brgds, AM


Lucas Vieites
Tera Guru

Since the wiki has been retired, I just wanted to add the right information here, as I was searching for it and found that you need to use $[SP] to add a non-breaking space in Jelly.

Neat. I've always used:

&#160;

Works for me


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!