mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-11-24 16:33:38 -05:00
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.) |
||
|---|---|---|
| .. | ||
| test | ||
| .istanbul.yml | ||
| .nycrc.yml | ||
| base-x-3.0.7.js | ||
| base64-1.7.js | ||
| bootstrap-3.3.7.js | ||
| comment.jsonld | ||
| commentmeta.jsonld | ||
| common.js | ||
| jquery-3.4.1.js | ||
| kjua-0.6.0.js | ||
| legacy.js | ||
| package.json | ||
| paste.jsonld | ||
| pastemeta.jsonld | ||
| prettify.js | ||
| privatebin.js | ||
| purify-2.0.8.js | ||
| rawinflate-0.3.js | ||
| showdown-1.9.1.js | ||
| types.jsonld | ||
| zlib-1.2.11.js | ||
| zlib-1.2.11.wasm | ||