Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Again: Replace emoji-plugin regex | Sheogorath | 2018-10-31 | 1 | -7/+6 |
| | | | | | | | | | | | | | | | | The Regex introduced in the last commit[1], was already working quite good. But still resulted in false positives for all URL that contained a second `:`. To fix this once and for all, we craft a simple, but long regex based on all emoji names and use this to match them. We could probably optimize it, but that should also be something the regex engine itself can and should do. [1]: 7e45533c75a3697c916e52e5f4ddff42a38bd3d5 (in this source tree) Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Fix emoji regex | Sheogorath | 2018-10-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | The old regex, adapted from the other plugins, was a bit too open for matching. This leads to matching something like: `This is a sentence: [And something with a: in it.]()` which doesn't become a link anymore. Because the match is: ` [And something with a`. This patch provides a fix for the regex to only match non-space string within the `:`'s. References: - Introducing commit: https://github.com/hackmdio/codimd/commit/2063eb8bdf9c0537e9fcfadd7f587658c72bd281 - Inspirational source of the original RegEx: https://github.com/hackmdio/codimd/blob/2063eb8bdf9c0537e9fcfadd7f587658c72bd281/public/js/extra.js#L1095 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Merge pull request #1006 from SISheogorath/fix/missingEmojis | Christoph (Sheogorath) Kern | 2018-10-22 | 1 | -0/+15 |
|\ | | | | | Fix not rendered autocomplete emojis | ||||
| * | Fix not rendered autocomplete emojis | Sheogorath | 2018-10-10 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | Currently we have some emojis that are autocompleted but won't show up in the resulting document. This patch adds all emojis that are pushed to Codemirror and applies them to the markdown rendering process, so they become usable. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | | Remove dead package octicon | Sheogorath | 2018-10-10 | 1 | -1/+1 |
|/ | | | | | | | | Octicon no longer provides its CSS classes and this way is useless in CodiMD. Replacing all used classes in the UI and remove it from build system. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Add rel="noopener" to target="_blank" links | Sheogorath | 2018-10-04 | 1 | -1/+3 |
| | | | | | | | | | | The noopener construct protects from some nasty clickjacking attacks. We can apply them savely to all our links since we don't rely on the previously used page. Some more details: https://mathiasbynens.github.io/rel-noopener/ Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Rebrand HackMD to CodiMD | Sheogorath | 2018-06-24 | 1 | -2/+2 |
| | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Fix task todo might not toggle | Max Wu | 2018-01-24 | 1 | -2/+2 |
| | | | which caused by not matching syntax with double dashes correctly | ||||
* | Fix image alt not render properly | Wu Cheng-Han | 2018-01-19 | 1 | -1/+2 |
| | |||||
* | Fix anchor id to keep uppercase characters | Max Wu | 2018-01-16 | 1 | -1/+5 |
| | | | id shouldn’t be converted to lowercase since id attribute is case sensitive | ||||
* | Fix mermaid error handling | Sheogorath | 2017-10-30 | 1 | -2/+7 |
| | |||||
* | Use mermaidAPI in mermaid scope | Sheogorath | 2017-10-30 | 1 | -12/+4 |
| | | | | | | | | Introduced by https://github.com/knsv/mermaid/commit/a5b71455271aef1180eefa1054d751dea1885e3f#diff-67ae90c5144c55348a3cbdb078240454L532 Fixes #600 Parse only throws error: https://github.com/knsv/mermaid/commit/167368d508f1e5b1606b2b45f892cdd60d479448#diff-67ae90c5144c55348a3cbdb078240454 | ||||
* | Fix markdown-it gist plugin code closing tag | Yukai Huang | 2017-10-21 | 1 | -1/+1 |
| | | | | fix #596 | ||||
* | Fix to filter @import CSS syntax in style tag to prevent XSS [Security Issue] | Wu Cheng-Han | 2017-10-05 | 1 | -4/+9 |
| | |||||
* | Fix unescape > symbol inside the style tags to make the CSS works | Wu Cheng-Han | 2017-10-05 | 1 | -0/+4 |
| | |||||
* | style: Fixed variable already declared | BoHong Li | 2017-05-08 | 1 | -2/+2 |
| | |||||
* | Update to support code block syntax highlighting of gherkin | Wu Cheng-Han | 2017-05-05 | 1 | -1/+2 |
| | |||||
* | Drop global variable ui exposing | Yukai Huang | 2017-03-28 | 1 | -3/+6 |
| | |||||
* | Update to change makefile syntax highlighting to Prism | Wu Cheng-Han | 2017-03-26 | 1 | -0/+6 |
| | |||||
* | Fix code style | Wu Cheng-Han | 2017-03-26 | 1 | -1/+1 |
| | |||||
* | Add support of abcjs | Wu Cheng-Han | 2017-03-26 | 1 | -0/+22 |
| | |||||
* | Fix todo list item class might add in wrong element | Wu Cheng-Han | 2017-03-22 | 1 | -1/+5 |
| | |||||
* | Fix unnecessary global calling of ownerui | Wu Cheng-Han | 2017-03-22 | 1 | -1/+1 |
| | |||||
* | Fix export html to replace fallen cdn tortue.me to cdnjs | Wu Cheng-Han | 2017-03-14 | 1 | -1/+1 |
| | |||||
* | Fix rendering might result XSS attribute on self closing tag [Security Issue] | Wu Cheng-Han | 2017-03-14 | 1 | -0/+13 |
| | |||||
* | Use JavaScript Standard Style (part 2) | BoHong Li | 2017-03-09 | 1 | -977/+967 |
| | | | | Fixed all fail on frontend code. | ||||
* | Fix duplicated headers anchor link not been updated properly | Wu Cheng-Han | 2017-02-03 | 1 | -1/+1 |
| | |||||
* | Fix "[object HTMLCollection] is not iterable!" error in some browsers | Wu Cheng-Han | 2017-02-03 | 1 | -1/+2 |
| | |||||
* | Merge pull request #341 from nvsofts/fix_bom_utf8 | Max Wu | 2017-02-03 | 1 | -2/+2 |
|\ | | | | | Removed UTF-8 BOM in download function | ||||
| * | Removed UTF-8 BOM in download function | NV | 2017-02-03 | 1 | -2/+2 |
| | | |||||
* | | Upgrade viz.js to fix manual workaround and get smaller file size | Wu Cheng-Han | 2017-02-02 | 1 | -21/+12 |
|/ | |||||
* | Rename common.js to login.js | Yukai Huang | 2017-01-13 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into frontend-next | Yukai Huang | 2017-01-07 | 1 | -15/+39 |
|\ | |||||
| * | Update to show yaml-metadata and diagram parsing error in the view | Wu Cheng-Han | 2017-01-04 | 1 | -2/+16 |
| | | |||||
| * | Workaround that graphviz might not recover from error | Wu Cheng-Han | 2017-01-04 | 1 | -12/+22 |
| | | |||||
* | | Convert extra.js to es6 | Yukai Huang | 2017-01-05 | 1 | -332/+305 |
|/ | |||||
* | Fix mathjax not able to render issue | Wu Cheng-Han | 2016-12-20 | 1 | -1/+8 |
| | |||||
* | Update to handle graphviz output empty graph | Wu Cheng-Han | 2016-12-19 | 1 | -0/+1 |
| | |||||
* | Remove unused vendor code and add fix related usages | Wu Cheng-Han | 2016-12-19 | 1 | -2/+2 |
| | |||||
* | Update to make TOC syntax be case-insensitive | Wu Cheng-Han | 2016-12-12 | 1 | -1/+1 |
| | |||||
* | Fix header id and text might affects by mathjax tags | Wu Cheng-Han | 2016-11-28 | 1 | -3/+12 |
| | |||||
* | Update to support typescript and jsx syntax highlighting | Wu Cheng-Han | 2016-11-28 | 1 | -1/+3 |
| | |||||
* | Optimize hackmd resource packing and load orders | Wu Cheng-Han | 2016-11-26 | 1 | -1/+1 |
| | |||||
* | Update to support go in code block syntax highlighting | Wu Cheng-Han | 2016-11-26 | 1 | -2/+3 |
| | |||||
* | Fix mathjax with blockquote might have race condition | Wu Cheng-Han | 2016-11-18 | 1 | -11/+13 |
| | |||||
* | Update to support haskell syntax highlighting in code block | Wu Cheng-Han | 2016-11-18 | 1 | -0/+6 |
| | |||||
* | Fix syntax highlighting not apply correctly in slides | Wu Cheng-Han | 2016-11-07 | 1 | -1/+0 |
| | |||||
* | Config extra entry for html.min.css | Yukai Huang | 2016-11-02 | 1 | -1/+1 |
| | |||||
* | Fix viewAjaxCallback might be called on null | Wu Cheng-Han | 2016-11-01 | 1 | -2/+1 |
| | |||||
* | Fix viewAjaxCallback not able to be assigned | Wu Cheng-Han | 2016-10-29 | 1 | -0/+1 |
| |