summaryrefslogtreecommitdiffstats
path: root/webapp/utils/markdown.jsx
Commit message (Collapse)AuthorAgeFilesLines
* PLT-6609: Fix hashtag highlighting of search results (#7175)George Goldberg2017-08-111-1/+1
| | | | | | * PLT-6609: Don't highlight #hashtag.dot when searching for #hashtag * Fix bug that broke pre-release.
* Revert "PLT-6609: Don't highlight #hashtag.dot when searching for #hashtag ↵George Goldberg2017-08-081-2/+2
| | | | | (#7109)" (#7147) This reverts commit f4638aecec2933f20efb4b95c2e0a90c22b47b43.
* PLT-6609: Don't highlight #hashtag.dot when searching for #hashtag (#7109)George Goldberg2017-08-071-2/+2
|
* Added MarkdownImage component (#6774)Harrison Healey2017-06-281-21/+1
| | | | | | * Added MarkdownImage component * Fixed unit tests
* PLT-6796 - Regression: Code tag is empty for html code blocks (#6779)Carlos Tadeu Panato Junior2017-06-281-1/+1
|
* PLT-6890 Fix various scrolling issues (#6727)Joram Wilander2017-06-231-3/+4
| | | | | | | | | | * Fix various scrolling issues * Move reaction scrolling to reaction list * Handle scrolling when RHS opens * Only run scroll update code when posts change
* Remove fake img preview before loaded (#5854)VeraLyu2017-06-161-0/+3
| | | | | Remove fake img preview and collapse toggle before it is loaded, only show img and toggle after it is fully loaded. Fix markdown img size and add scroll down behaviour.
* PLT-6380 Make team invite links open in the current tab (#6538)Harrison Healey2017-06-021-2/+9
| | | | | | * PLT-6380 Changed link formatting to make team invite links open within the current tab * Fixed internal link parsing when site URL isn't set
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* PLT-5702 Added special error page for private browsing error message (#5985)Harrison Healey2017-04-041-0/+4
|
* PLT-5913: Remove id from heading markdown compilation (#5782)VeraLyu2017-03-231-3/+2
| | | | | Id for heading markdown is unnecessary as we didn't attach any style/effect on that id, and it also introduce duplicate id. So remove it from heading markdown generatiing.
* Revert "PLT-3181 Added crossorigin='anonymous' to all external images ↵Harrison Healey2017-03-201-1/+0
| | | | | (#5774)" (#5815) This reverts commit 24848f9d6a92eb1e09189c358636fd1ba32fa6d6.
* PLT-3181 Added crossorigin='anonymous' to all external images (#5774)Harrison Healey2017-03-161-0/+1
| | | | | | | | * PLT-3181 Added crossorigin='anonymous' to all external images * Fixed image unit tests * Added crossorigin='anonymous' to a few more places
* Disabled mangling of email addresses in markdown autolinks (#5192)Harrison Healey2017-01-251-1/+2
|
* Support explicit image sizes in markdown (#4803)Jürgen Haas2017-01-201-2/+32
| | | | | | | | | | | | | | | | | | * Support explicit image sizes in markdown * Cleanup code * Add support for missing second dimension * Overwrite height style attribute if available, use "auto" otherwise * Fix syntax * Do not set the height style if its value is auto * Re-calculate width and height, if given height is bigger than max-height * Make formulas more explicit
* Updating eslint (#4573)Christopher Speller2016-11-171-1/+1
|
* Fix URL parsing when URL has been encoded with escape() (fixes #4322) (#4338)Pierre Rudloff2016-10-261-1/+7
|
* PLT-3487 Preview uploaded txt file (#4145)Yusuke Nemoto2016-10-051-1/+1
| | | | | | * fix filename * Add 'txt' to hilighted language
* Updating ESLint (#4085)Christopher Speller2016-09-231-1/+1
|
* PLT-1752/PLT-3567/PLT-3998 Highlighting links in search, unit tests for ↵Harrison Healey2016-08-291-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | autolinking (#3865) * Added highlighting to links when their URL includes the search term * Decoupling UserStore from react-router to allow for unit tests involving it * PLT-3998 Added SiteURL as an option to be passed into the text formatting code * Removed reference to PreferenceStore and window from TextFormatting * Refactored TextFormatting to remove remaining browser-only code * Updated ChannelHeader and MessageWrapper to match the changes to TextFormatting * Increased max listeners for Preference and Emoji stores * PLT-3832 Added automated unit tests for autolinking * PLT-3567 Rerender posts when mention keywords change * Updated RHS and search to match the changes to TextFormatting * Broke TextFormatting's dependency on the UserStore
* PLT-3534 Changed special handling of internal links to only occur for ↵Harrison Healey2016-08-031-3/+3
| | | | permalinks and links to channels (#3731)
* Rendered invalid URLs as plain text when parsing markdown (#3616)Harrison Healey2016-07-191-2/+2
|
* Properly removed hashtags and at mentions inside of markdown links (#3283)Harrison Healey2016-06-071-1/+1
|
* Removed hashtag/mention links that appear within text for markdown links (#3199)Harrison Healey2016-06-021-1/+2
|
* Improved internal links which use react-router (#3180)Harrison Healey2016-06-011-3/+3
|
* Reorganized syntax highlighting code and added search term highlighting for ↵Harrison Healey2016-06-011-2/+47
| | | | code blocks with syntax highlighting (#3191)
* PLT-1626/PLT-1424/PLT-1473/PLT-1483 Improved search highlighting (#3171)Harrison Healey2016-05-311-2/+16
| | | | | | | | | | | | | | | | * PLT-1626 Stopped breaking up hyphenated hashtags when highlighting search terms * Made hashtag search highlighting case independent * PLT-1424 Improved search highlighting when searching for CJK characters * PLT-1473 Added search term highlighting to single-line code blocks * PLT-1473 Added search term highlighting to code blocks that don't use syntax highlighting * PLT-1483 Added proper highlighting of at mentions * Fixing formatting
* Fixed ESLint errors (#3134)Harrison Healey2016-05-271-3/+3
|
* PLT-1458 Updated list autonumbering (#3126)Harrison Healey2016-05-271-300/+9
| | | | | | * Removed MattermostLexer since it was exactly the same as the default marked one * Updated list autonumbering to always start numbering from the first item's number
* Updated our fork of marked and prevented catastrophic backtracking (#3098)Harrison Healey2016-05-251-49/+3
|
* Revert "Updated our fork of marked and added more links to test-links.md ↵Harrison Healey2016-05-241-3/+49
| | | | | (#3047)" (#3090) This reverts commit c868620693c69e2931c3023460eaafd9f6d330b6.
* Updated our fork of marked and added more links to test-links.md (#3047)Harrison Healey2016-05-191-49/+3
|
* Added noreferrer to some links (#2897)Harrison Healey2016-05-051-1/+1
|
* Fixed external links to open in a new tab (#2793)Harrison Healey2016-04-251-1/+1
|
* PLT-1236 Added special handling for markdown links within mattermost (#2763)Harrison Healey2016-04-221-9/+10
| | | | | | * Added special handling for markdown links within mattermost * Moved application of .app__body class to route components
* Fixed link formattingHarrison Healey2016-04-131-1/+1
|
* Fixing style issue caused by build changesChristopher Speller2016-03-171-3/+0
|
* Created component CodePreviewRodrigo Corsi2016-03-171-78/+9
|
* Converting to Webpack. Stage 1.Christopher Speller2016-03-161-0/+577