Skip to content

Inline catalog products link widget has spaces on either side of it’s text

I’ve been trying to put a comma between the two links but there’s a permanent space, the space is fine with words, but not so well with the comma.

For example, I’ll get “This , this and this” instead of “This, this and this”

The code for the widgets looks like this:

{{widget type="MagentoCatalogBlockProductWidgetLink" anchor_text="2.5m" template="product/widget/link/link_inline.phtml" id_path="product/11581"}},
{{widget type="MagentoCatalogBlockProductWidgetLink" anchor_text="3.0m" template="product/widget/link/link_inline.phtml" id_path="product/11902"}}and
{{widget type="MagentoCatalogBlockProductWidgetLink" anchor_text="3.5m" template="product/widget/link/link_inline.phtml" id_path="product/11933"}}

I know I can put the comma as part of the link, but I’d prefer not to.

Any help is appreciated!