Jump to:

23493 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » closing open html tags due to LimitCharacters

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 899 Views
  • Hello_electro
    Avatar
    Community Member
    80 Posts

    closing open html tags due to LimitCharacters Link to this post

    Hi:

    Can anyone shed some light on how to make sure an opening tag (i.e. paragraph) gets closed properly when the text is truncated using LimitCharacter.

    i am pulling in the first 20 characters from my latest blog entry, but silverstripe is including the p tag but because it is truncated i am getting a parsing error that there is no closing tag.

    Any help would be greatly appreciated!

    899 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.