Author: rob33n | Posted on: 10/9/2010 12:09:49 PM | Views : 289

Hello. I'm try to do read more link.
I did this but I have some little problem. For example I'm entering <!--kamore--> in my post content for read more.
When I see <!--kamore--> I understand the content will be cut this index and I'm using substring function and cut the string. But after this there is some problems with look. Here is normal look and another weird look.
After I cut this with substring and do innerhtml and if there is some html tag before the index the css is going crazy. (< p>< !--kamore-->) I can't solve this. If I'm using regex it just make all of them like text and there is no html tags in my post and it's not good. I mean if there is some links or table in my post they will not showing. They are just text.
Normal look: http://i54.tinypic.com/2vl9kdv.png
Weird look: http://i54.tinypic.c ...

Go to the complete details ...