Hello,
This is my first post and I'm currently developing a web app using FuelPHP.
What would be the best approach for storing formatting of articles/blog posts. I was thinking of storing HTML tags in the database, but FuelPHP encodes all output - I'm not too keen on turning off this encoding - for example: if for any chance someone was able to inject JavaScript into the database our users would still be protected.
Looking forward to your replies,
Thank you!
For the Fuel Depot project we're going to use Markdown for all documentation, comments, blogs etc.
FuelPHP has a markdown parser available as part of the core, and there are plenty of WYSIWYG editors available to make it easy for your users to write markdown syntax.