Welcome Guest, Not a member yet? Register   Sign In
proprietary tags in text for parsing and converting to html tags
#1

[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!


Messages In This Thread
proprietary tags in text for parsing and converting to html tags - by El Forum - 07-14-2014, 11:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB