RickyV33 / OverView

Capstone project using the Jama Software REST API that provides a graphical representation of customer requirement relationships.
Other
1 stars 7 forks source link

Retrieve item descriptions from Jama #168

Closed RickyV33 closed 8 years ago

RickyV33 commented 8 years ago

Include the description for the items in getProjectItems (lib/projects.js) that is stripped of all HTML tags. It is included in the fields property and can be accessed with item.fields.description Fix unittests to accommodate for this change, and update the schema as well. https://css-tricks.com/snippets/javascript/strip-html-tags-in-javascript/

COUPLED WITH #170

RickyV33 commented 8 years ago

Strip images

RickyV33 commented 8 years ago

Investigate ways to strip html

chances commented 8 years ago

Don't use RegEx, it doesn't cover a lot of edge cases. It's much safer to use a DOM instead. (source)

Use sanitize-html.