opensandiego / open-dsd-notifications

Discovery and notification from City of San Diego Development Services Department
http://www.OpenSanDiego.com
MIT License
4 stars 3 forks source link

Removes HTML tags from feed titles #15

Open dsummersl opened 8 years ago

dsummersl commented 8 years ago

As per: https://github.com/codeforamerica/citygram/issues/247

bcipolli commented 8 years ago

Thank you! I'm not sure this will give properly linked urls in each scenario: when viewing the citygram map, in the email, and when viewing the email in the browser.

Can you confirm that this will lead to properly linked items in each scenario? I'm a bit suspicious that maybe not, as there are no a tags, so nothing related to linking to strip out.

dsummersl commented 8 years ago

hmm, good question. I'll check. The main citygram app 'hyperlinks' plain text, so I think...as long as this text is plain text and has a properly formatted URL it should be okay.

dsummersl commented 8 years ago

Okay! Spent a little time over the weekend on this. You're totally right, this is much more complicated...