Shazwazza / Articulate

A wonderful Blog engine built on Umbraco
MIT License
211 stars 106 forks source link

How to remove comma from Url.ArticulateTagUrl #223

Closed bobi33 closed 6 years ago

bobi33 commented 7 years ago

How would you remove the comma (,) from the tags listed in the following list? The tags currently show up as: tag1, tag2, tag3, etc. I am trying to get them to not be separated by the comma, similar to how it is with TagCloud. <li> <i class="fa fa-tags"></i> @Html.ListTags(Model, @<a href="@Url.ArticulateTagUrl(Model, @item)">@item</a>) </li>

ProNotion commented 6 years ago

ListTags has a delimeter parameter, have you tried setting it to string.Empty?

<li> <i class="fa fa-tags"></i> @Html.ListTags(Model, @<a href="@Url.ArticulateTagUrl(Model, @item)">@item</a>, delimiter: string.Empty) </li>