|
17ed9160
|
2022-03-13T10:09:21
|
|
Autolinker: Fixed URL regex to match more valid URLs (#3358)
|
|
e8d3b503
|
2021-06-27T14:56:07
|
|
ESLint: Added `regexp/strict` rule (#2944)
|
|
74edb4e5
|
2021-05-14T12:40:12
|
|
ESLint: Added indent rule (#2881)
|
|
fd20dbe4
|
2021-05-01T14:53:38
|
|
ESLint: Added spacing rules (#2862)
|
|
67a86cf6
|
2021-04-18T16:13:48
|
|
ESLint: Added brace-style rule (#2865)
|
|
158011e4
|
2021-04-18T15:55:05
|
|
ESLint: Added wrap-iife rule (#2867)
|
|
772d42be
|
2021-03-26T13:16:16
|
|
Added ESLint with minimal config (#2831)
|
|
96335642
|
2021-03-21T17:22:54
|
|
Plugins: Consistent Prism check (#2788)
|
|
eb28b62b
|
2019-04-19T22:10:04
|
|
Autolinker: Improved URL regex (#1842)
This changes the regex for matching URLs to include the `@` character and improves the pattern to avoid backtracking.
|
|
11d0f75e
|
2019-03-14T13:17:45
|
|
Applied Array.isArray (#1804)
This replaces all occurrences of `Prism.util.type(variable) {!==, ===} 'Array'` with an equivalent `Array.isArray` expression.
|
|
8cf20d49
|
2019-02-11T20:35:25
|
|
Fix Autolinker url-decoding all tokens (#1723)
This PR fixes #1721.
The problem was that the url-decoding introduced in #1173 was applied to all tokens.
|
|
109bd6f8
|
2018-03-04T13:42:41
|
|
Autolinker Plugin: Allow more chars in query string and hash to match more URLs. Fix #1142
|
|
2e43fcf1
|
2017-09-13T20:47:39
|
|
Autolinker: Silently catch any error thrown by decodeURIComponent. Fixes #1186
|
|
abc007f6
|
2017-09-09T04:02:07
|
|
fixed an rendering issue for encoded urls (#1173)
If a url contains some special characters, like space or "<", it needs to be encoded in order to be recognized as a valid url. Adding a decoding step allows these urls to render correctly.
|
|
5f1b3826
|
2016-07-10T13:56:08
|
|
Data-URI Highlight plugin
|
|
a5724950
|
2015-09-07T19:15:18
|
|
Autolinker: Don't process all grammars on load, process each one in before-highlight. Should fix #760
|
|
0356c58c
|
2015-09-03T19:09:48
|
|
Apply changes from #754 to all plugins so that none of them throw errors in node.
Autolinker, Show invisibles and WPD can now be used with node.
Removed unused minified CSS file.
Also added missing space between attributes during wrapping.
|
|
24351dc1
|
2015-01-10T09:33:25
|
|
Fix URL RegExp in Autolinker
|
|
08037e5b
|
2014-09-05T11:01:02
|
|
Fix for DFS bug with new pattern array feature
This patch implements support for the new pattern array feature in the
Prism.languages.DFS function and fixes a bug in the autolinker plugin.
It adds an optional parameter to the callback of Prism.languages.DFS,
which contains the type of the current object as oposed to the key in
the parent. In most cases both key and type are exactly the same. Only
if the parent is an array the key will contain the index number and the
type will contain the attribute name of the array in the parent object.
The key can be used to replace the object in the parent and the type can
be used to provide the necessary context.
|
|
88696fab
|
2014-02-23T16:52:29
|
|
Autolinker fixes
Capture query string and document fragment in url regex
If inserting to attr-value, need to match url-link first, otherwise query string '=' gets picked up as punctuation.
Don't prepend mailto: if it's already there (e.g. inside an href)
|
|
d65695dc
|
2013-07-25T10:45:54
|
|
Allow port number (i.e. colon) in url
|
|
29ba72da
|
2012-11-25T18:28:20
|
|
Fixed #57 - Autolinker doesn't work when async is enabled
|
|
b2284fa3
|
2012-08-01T12:03:54
|
|
Fixed #13
|
|
ec8fb796
|
2012-07-31T17:47:56
|
|
Added helper method Prism.languages.DFS
|
|
880efd3c
|
2012-07-30T18:27:16
|
|
Autolinker plugin
|
|
483831ee
|
2012-07-30T18:27:16
|
|
Autolinker plugin
|