summaryrefslogtreecommitdiff
path: root/public/js/pretty.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-31Fix eslint warningsSheogorath1-24/+24
Since we are about to release it's time to finally fix our linting. This patch basically runs eslint --fix and does some further manual fixes. Also it sets up eslint to fail on every warning on order to make warnings visable in the CI process. There should no functional change be introduced. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2017-03-14Fix rendering might result XSS attribute on self closing tag [Security Issue]Wu Cheng-Han1-0/+2
2017-03-09Use JavaScript Standard Style (part 2)BoHong Li1-104/+107
Fixed all fail on frontend code.
2017-01-21Fix meta error not clear on before renderingWu Cheng-Han1-0/+1
2017-01-05Convert pretty.js to es6Yukai Huang1-44/+43
2016-11-26Fix possible XSS in yaml-metadata and turn using ejs escape syntax than ↵Wu Cheng-Han1-4/+1
external lib [Security Issue]
2016-11-26Fix published note won't scroll to hash on loadWu Cheng-Han1-0/+2
2016-11-07Fix syntax highlighting not apply correctly in slidesWu Cheng-Han1-0/+2
2016-11-02Require pretty stylesheetsYukai Huang1-0/+4
2016-10-19Update to make pretty use same method as slide to unescape markdown contentWu Cheng-Han1-1/+4
2016-10-13Expose parseMeta functionYukai Huang1-0/+1
2016-10-13Fix cheatsheet renderingYukai Huang1-1/+1
do not process help-modal markdown-body
2016-10-13Fix lastchangeui and moment timestampsYukai Huang1-1/+0
2016-10-09Workaround for circular requireYukai Huang1-2/+6
2016-10-08Resolve dependency module requiringYukai Huang1-1/+18
* es5 style module exports * remove script tag require * webpack config ProvidePlugin Note that this commit only fix JavaScript module loading runtime error.
2016-08-15Fix toc id naming to avoid overlap with user tocWu Cheng-Han1-3/+3
2016-07-30Update to support slide type in publish note and download html styleWu Cheng-Han1-8/+25
2016-04-20Refactor server with Sequelize ORM, refactor server configs, now will show ↵Cheng-Han, Wu1-1/+2
note status (created or updated) and support docs (note alias)
2016-02-15Updated to support lang attribute and styles in editorCheng-Han, Wu1-1/+1
2016-02-11Updated rendering operations to improve performanceCheng-Han, Wu1-2/+7
2016-02-11Fixed prevent XSS might break lots of tags and only need after renderedCheng-Han, Wu1-1/+3
2016-01-12Support show last change user with profile and support YAML config inside ↵Wu Cheng-Han1-2/+6
the note with robots, lang, dir, breaks options
2015-12-20Added support of toc syntaxWu Cheng-Han1-0/+1
2015-09-25Added deduplicatedHeaderId to avoid multiple same header idWu Cheng-Han1-0/+1
2015-09-25Fixed scroll to body might not animateWu Cheng-Han1-2/+2
2015-07-02Jump to 0.3.1Wu Cheng-Han1-6/+78
2015-05-15Marked as 0.2.8Wu Cheng-Han1-0/+9