bintzwing/js
rugk 005d223c0d Fix source code being not rendered
If special characters were included the source code (HTML-like ones like < and >) is was not rendered.

Fixes https://github.com/PrivateBin/PrivateBin/issues/588

It includes a change in the RegEx for URLs because that was broken when a
& character later followed at any time after a link (even after a newline).
(with a negative lookahead)

Test with https://regex101.com/r/i7bZ73/1

Now the RegEx does not check for _all_ chars after a link, but just for the
one following the link.
(So the lookahead is not * anymore. I guess thsi behaviour was
the expectation when it has been implemented.)
2020-03-04 11:45:56 +01:00
..
test addressing false positive jsverify rngState 85f362db8950cea741 2020-02-05 19:06:45 +01:00
.istanbul.yml starting to work on JSVerify & Mocha based unit tests for our JS code base 2017-01-29 14:31:44 +01:00
.nycrc.yml changes required for jsdoc, adding legacy.js to code coverage 2019-09-22 21:18:19 +02:00
base-x-3.0.7.js upgrading base-x library to 3.0.7 2020-01-07 20:11:12 +01:00
base64-1.7.js Replace HTTP links with HTTPS 2016-07-19 13:56:52 +02:00
bootstrap-3.3.7.js revert bootstraps JS to 3.3.7 as 3.4.1 breaks the navbar toggle 2019-06-16 10:06:01 +02:00
comment.jsonld breaking all the things (by replacing v1 with v2 formats) 2019-05-03 20:51:01 +02:00
commentmeta.jsonld reduce duplication in format 2018-12-17 21:42:49 +01:00
common.js upgrade DOMpurify to 2.0.8 2020-02-04 18:43:35 +01:00
jquery-3.4.1.js upgrade jQuery library 2019-06-16 09:30:59 +02:00
kjua-0.6.0.js updated kjua library 2019-06-16 10:13:53 +02:00
legacy.js changes required for jsdoc, adding legacy.js to code coverage 2019-09-22 21:18:19 +02:00
package.json fixing npm package version number 2019-07-27 08:11:29 +02:00
paste.jsonld designing v2 paste & comment format 2018-12-17 19:43:16 +01:00
pastemeta.jsonld address security concerns reg. paste creation date by removing it in the API, keep comment creation date exposed, displayed in discussion - resolves #390 2018-12-23 20:10:24 +01:00
prettify.js updating prettify library to 453bd5f 2018-07-01 19:17:05 +02:00
privatebin.js Fix source code being not rendered 2020-03-04 11:45:56 +01:00
purify-2.0.8.js upgrade DOMpurify to 2.0.8 2020-02-04 18:43:35 +01:00
rawinflate-0.3.js Replace HTTP links with HTTPS 2016-07-19 13:56:52 +02:00
showdown-1.9.1.js upgrading showdown to released 1.9.1 version 2020-01-07 19:58:05 +01:00
types.jsonld re-add CreationTime, still used in comment 2018-12-24 08:20:39 +01:00
zlib-1.2.11.js making zlib usable in browsers 2019-05-11 10:38:14 +02:00
zlib-1.2.11.wasm implement zlib via web assembly, replacing rawdeflate library 2018-12-27 21:32:13 +01:00