jasonlanderson/graf — pull request #26 by jackfengibm (2014-11-11 00:05:45+00:00)
Title: fix html tags embedded in PR titles, companies, and repo names

Currently html tags can exist in PR titles, company names and repo names. Hence these HTML tags can make their way to the final constructs of our web page for the reports data table. As a result, their presence in the web page breaks the page's integrity and caused the rendering of the page to stop prematurely. As result, only 2/3 of the full list of PRs were rendered, and more than 2000 PRs were dismissed.

This PR aims at putting escapes in the PR titles, company names and repo names so they no longer cause issue at rendering. Given there is already a git link added to the title column, user has a way of seeing the full description of the PR if so desired. There is no longer a need for a complete capture of the PR titles, company names and repo names. This PR also truncates titles beyond 200 characters long and company names and repo names beyond 100 character long.