|
f0a10669
|
2019-05-15T13:41:05
|
|
CSS: Extended `url` inside (#1874)
This extends the highlighting of the CSS `url` pattern adding highlighting for punctuation and the `url` function.
|
|
a2d445d0
|
2019-03-06T13:22:08
|
|
CSS: Selectors can contain any string (#1638)
This fixes that certain attribute value strings break the selector pattern.
|
|
4f6f3c7d
|
2018-12-24T17:28:06
|
|
Allow multiline CSS at-rules (#1676)
Allows for CSS at-rules containing line breaks.
|
|
7ea2ff28
|
2018-11-24T10:54:26
|
|
Added the comma to the list of CSS punctuation
|
|
c1d6cb85
|
2018-10-19T04:06:02
|
|
Fix tokenizing !important (#1585)
Updates the regex to ensure that when `!important` sits next
to a property with no spaces, it's still tokenized correctly.
|
|
f234ea40
|
2017-11-20T23:34:38
|
|
Unicode characters in CSS properties (#1227)
* Unicode characters in CSS properties
Highlight Unicode characters in CSS properties correctly, for example “.foo { --bär: 3 }”.
Optimized the “function” regex in the JavaScript definition: replaced “_a-zA-Z0-9” with “\w”, removed uppercase “A-Z” because the “i” flag is set.
Used that regex for CSS but removed “$” and added “-”.
* Add a test
* Add minified versions
* Update prism.js
* Revert "Update prism.js"
This reverts commit 241464ba1ba5e350b8483d926e73364f9e9d99c4.
* Update prism.js too
|
|
1736f4aa
|
2017-02-08T01:36:27
|
|
Fix corner cases for the greedy flag
By refactoring the tokenize() method into two separate methods, it is
possible to recursively clean up any broken tokens left by the greedy
feature.
This should fix the issue 1075.
|
|
3fb26cc7
|
2015-08-18T23:58:50
|
|
Add tests for CSS
|