plugins/command-line


Log

Author Commit Date CI Message
Michael Schmidt cdfa60ac 2019-09-30T19:43:33 Added plugin descriptions to plugin list (#2076) This adds plugin descriptions to the plugin lists on the website.
libantema c24831b5 2019-04-27T11:28:47 Command line: Fix for uncaught errors for empty 'commandLine' object. (#1862) This fixes the issue that the Command line plugin throws an error when the 'commandLine' object is not defined/an empty object. This always happens when an element with no text is highlighted.
Michael Schmidt 439ea1ee 2019-03-11T00:32:45 Added scripts directory (#1781) This adds a new `scripts` directory for all scripts used exclusively by the prismjs.com website.
Michael Schmidt 3e00bb9c 2019-03-07T15:22:30 Rebuilt Prism (#1794) This is a rebuilt of Prism to update minified files.
Michael Schmidt 9f6e5026 2018-11-28T14:23:53 Fixed class regex for Command Line plugin (#1566) Fixes #1564 where the plugin would wrongly detect `command-line-prompt` causing the alignment issue.
Valtteri Laitinen d95f8fb4 2018-04-22T15:55:38 Use rel="icon" instead of rel="shortcut icon" (#1398)
Valtteri Laitinen 95146c8f 2018-04-17T01:28:42 Use HTTPS / canonical URLs (#1390) Also, remove the broken link in `/index.html`.
Chris Wells 094d5463 2018-03-26T02:14:54 Command Line: Allow specifying output prefix using data-filter-output attribute. (#856)
Rob Wu 17e33bc0 2016-11-20T12:52:54 Reduce risk of XSS (#1051) * Skip non-own properties of env.attributes Use `Object.keys` instead of a for-in loop to find optional attributes. The former only grabs keys that are own properties, the latter also includes inherit properties from `Object.prototype`. This reduces the risk of XSS if an attacker somehow manages to manipulate the prototype chain of the Object prototype. * Fix root cause of XSS in autolinker plugin #1054 * command-line plugin: Safely encode attributes If an attacker has control over the values of the attributes "data-prompt", "data-user", or "data-host", then XSS was possible. This fixes the issue, by encoding quotes as the `"` entity. * show-language plugin: innerHTML -> textContent There is no need for `innerHTML` here. At best nothing happens, at worst XSS is possible (though the odds are negligible since the attacker would have to control the detected language). * toolbar plugin: innerHTML -> textContent
Chris Wells 298dca59 2015-12-29T19:36:08 Remove the need for an "output" class.
Andreas Rohner a912063c 2015-12-30T00:56:38 Update auto-generated files and minified versions
Chris Wells 83789062 2015-11-29T20:27:14 Add Command Line plugin.