[eluser]Andy UK[/eluser]
I'm considering allowing my users to add proprietary tags to a text input to show titles, lists, etc. I would like to do something like is used in this forum with the code, quote, bold tags and such tags.
It's not really a template system as such. It would only apply to one text box which i would have to parse before sending to the view to swap the proprietary tags for html and in the case of lists, add and <li> for each new line.
Has anyone had any experience doing this? What's a good way of enclosing proprietary tags.... Perhaps double brackets like here. Any tips as to the best way to implement this would be welcome.
Thanks!