I have a database and I have a website. I have a field in my interface, this is text, but I want it to support markdowns . I'm trying to understand what right was stored in my database because I have various views that need to be supported (PDF reports, web pages, excel files, etc.)?
My concern is that since some of these views do not support HTML, I do not just want to have an HTML version of this field.
Should I store 2 copies (only one text and one HTML?), Or should I store HTML and try to remove their HTML tags on the fly when I view Excel, for example?
I need to figure out the correct format (or formats) to store in the database in order to be able to display both:
- HTML and
- Plain text (no setpoint or HTML syntax)
Any suggestions would be appreciated as I don't want to go the wrong way. I want to say that I do not want to show any HTML tags or markup syntax in my release of Excel.
leora source share