Commit Graph

20 Commits

Author SHA1 Message Date
hmhealey
ffe34aa154 Restored changes which remove emojify and switch to our own version 2015-09-22 13:53:43 -04:00
Christopher Speller
e7d408585a Revert "PLT-289 Added parsing for named emojis to TextFormatting and removed emojify" 2015-09-22 13:21:58 -04:00
hmhealey
251d33ad23 Added parsing for named emojis to TextFormatting and removed dependency on emojify 2015-09-22 09:22:49 -04:00
hmhealey
144a277a44 Cleaned up markdown formatting code and removed debug statements 2015-09-19 11:18:37 -04:00
hmhealey
5f18c71d07 Deferred to marked.js's html sanitization when markdown is enabled 2015-09-19 11:18:32 -04:00
hmhealey
2eb320f48a Changed markdown link parsing to automatically add an explicit protocol to urls 2015-09-19 10:39:55 -04:00
hmhealey
efb3462a68 Prevented our url autolinking from breaking markdown links 2015-09-19 10:39:51 -04:00
hmhealey
bb330b662a Added marked library to text_formatting.jsx 2015-09-19 10:08:59 -04:00
hmhealey
ae5a1e3ea8 Removed underscores surrounding formatting tokens since they won't work with markdown 2015-09-19 10:08:59 -04:00
hmhealey
208bf914b8 Removed unnecessary conversion of newlines to html line breaks 2015-09-19 10:08:59 -04:00
hmhealey
bc8e69d99f Fixed incorrect check if a url starts with an explicit protocol 2015-09-18 11:56:23 -04:00
hmhealey
60d2cff723 Replaced instances of startsWith with lastIndexOf in TextFormatting 2015-09-16 14:08:10 -04:00
hmhealey
4c9ae22b62 Renamed text formatting tokens so that there should be significantly less chance of having conflicting tokens 2015-09-14 15:08:13 -04:00
hmhealey
3e3b52554a Cleaned up TextFormatting and added a default click handler for hashtags and @mentions 2015-09-14 12:21:58 -04:00
hmhealey
214e48835a Added highlighting of search terms to the new text formatting 2015-09-14 09:19:27 -04:00
hmhealey
e1797c7d55 Added autolinking of hashtags to the new text formatting 2015-09-14 09:19:27 -04:00
hmhealey
3ab2814af3 Added autolinking of urls to the new text formatting 2015-09-14 09:19:26 -04:00
hmhealey
5d28ffa444 Added highlighting when the current user is mentioned to the new text formatting 2015-09-14 09:19:26 -04:00
hmhealey
91f258c725 Added handling for @mentions to the new text formatting 2015-09-14 09:19:26 -04:00
hmhealey
2d2939576c Added skeleton for new text formatting code which will replace textToJsx 2015-09-14 09:19:26 -04:00