-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Change markdown engine to markdown it
This commit removes the old evilstreak markdownjs engine. - Adds specs to WhiteLister and changes it to stop using globals (Fixes large memory leak) - Fixes edge cases around bbcode handling - Removes mdtest which is no longer valid (to be replaced with CommonMark) - Updates MiniRacer to correct minor unmanaged memory leak - Fixes plugin specs
- Loading branch information
1 parent
9e03fae
commit d0c5205
Showing
123 changed files
with
1,153 additions
and
7,844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
//= require markdown-it.js | ||
//= require ./pretty-text/engines/markdown-it/helpers | ||
//= require ./pretty-text/engines/markdown-it/mentions | ||
//= require ./pretty-text/engines/markdown-it/quotes | ||
//= require ./pretty-text/engines/markdown-it/emoji | ||
//= require ./pretty-text/engines/markdown-it/onebox | ||
//= require ./pretty-text/engines/markdown-it/bbcode-block | ||
//= require ./pretty-text/engines/markdown-it/bbcode-inline | ||
//= require ./pretty-text/engines/markdown-it/code | ||
//= require ./pretty-text/engines/markdown-it/category-hashtag | ||
//= require ./pretty-text/engines/markdown-it/censored | ||
//= require ./pretty-text/engines/markdown-it/table | ||
//= require ./pretty-text/engines/markdown-it/paragraph | ||
//= require ./pretty-text/engines/markdown-it/newline | ||
//= require ./pretty-text/engines/markdown-it/html_img | ||
//= require ./pretty-text/engines/discourse-markdown/helpers | ||
//= require ./pretty-text/engines/discourse-markdown/mentions | ||
//= require ./pretty-text/engines/discourse-markdown/quotes | ||
//= require ./pretty-text/engines/discourse-markdown/emoji | ||
//= require ./pretty-text/engines/discourse-markdown/onebox | ||
//= require ./pretty-text/engines/discourse-markdown/bbcode-block | ||
//= require ./pretty-text/engines/discourse-markdown/bbcode-inline | ||
//= require ./pretty-text/engines/discourse-markdown/code | ||
//= require ./pretty-text/engines/discourse-markdown/category-hashtag | ||
//= require ./pretty-text/engines/discourse-markdown/censored | ||
//= require ./pretty-text/engines/discourse-markdown/table | ||
//= require ./pretty-text/engines/discourse-markdown/paragraph | ||
//= require ./pretty-text/engines/discourse-markdown/newline | ||
//= require ./pretty-text/engines/discourse-markdown/html_img |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
d0c5205
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on Discourse Meta. There might be relevant details there:
https://meta.discourse.org/t/discourse-yuml-add-yuml-diagrams-to-discourse-posts/30448/13
d0c5205
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this modification, it results (at least in my setup with nginx reverse proxy and web.socketed template) in "Discourse.MarkdownItURL" using a http url when the website is used in https. So, browsers send alerts/warning about mixed content...
d0c5205
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d0c5205
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it possible to have discourse working correctly in http and https at the same time ?
It's the only element which causes a problem... (earlier versions were ok)