ibiza,
If it's formatting user data entered into a text box. Check out freetextbox:
http://www.freetextbox.com
It's a WYSIWIG editor that would let your users create the list themselves
without having to know html markup. You can enable and disable any buttons
in the editor you'd like.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"ibiza" <lambertb@gmail.com> wrote in message
news:1139498742.053575.47990@g14g2000cwa.googlegro ups.com...[color=blue]
> well, if I give this possibility to the users, I'd appreciate they
> respect some format :)
> e.g. always a carriage return then a "-". As soon as this is
> encountered, this means a list to the application. If he decides to add
> spaces after the "-", I guess they should be rendered maybe? And if he
> decides to input two carriage returns in a row, this would mean the end
> of the list and a new paragraph.
>
> As for going line per line, the problem for me is the beginning and the
> end of the list. I mean, how can I find where it does begin and
> end?...could you give me some help with this?
>
> thanks a lot for your reply!
>[/color]