2012-10-06, 15:08:49
mvlcek Wrote:mikeh Wrote:What you can do is in plugins/blog/class/primary/Blog.php, edit the create_excerpt function and remove the strip_tags and strip_decode functions as seen below:
...
What will probably create invalid HTML... :-(
BTW, mikeh: you should first strip the tags and only then get the substring of the desired length.
The way you do it, you might get invalid HTML when splitting within a tag, e.g. at <a . And you will nearly always get less characters than desired.
Thanks so far. I will try it. Whats the point of removing the html anyway? Wouln't it look nicer to have all the advantage of html in the excerp, too?