Node JS
Wednesday, 29 March 2017
storing html tags in mongodb?
Lets say I have a blog site and I have the collection blogposts with the fields username:"user123", title:"
random title
", text: "
blahblahblahblah
". I store them with tags so I don't have to manually write every blog post in the ejs file, but the text comes out like this ex.
dasdASDASD
Submitted March 29, 2017 at 10:13PM by caseyboyswag
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment