components/prism-markup.js


Log

Author Commit Date CI Message
Golmote 75452ba1 2015-06-12T21:35:06 Markup: optimized tag's regexp so that it stops crashing on large unclosed tags
Golmote 52fd55ee 2015-06-12T20:20:41 Relax markup grammar to allow non-ASCII chars in tag names and attributes. Fix #585
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Golmote 9487b5be 2015-01-09T08:11:21 Removed unneeded escapes in RegExps, added some semicolons
Thomas Ingram ad7513cb 2014-05-24T13:06:57 Attempt to fix clike and markup grammars Original authors should at least verify these changes are correct
Thomas Ingram 9f6cff9b 2014-05-23T13:01:26 Whitespace cleanup
Daniel Wachsstock a74ff878 2013-12-14T19:36:16 Allow more characters in attribute values The current pattern uses `\w+` but the [html5 grammar](http://www.w3.org/html/wg/drafts/html/master/syntax.html#attribute-value-(unquoted%29-state) allows just about any character, `[^\s'">=]+`
Lea Verou 1d899d7d 2013-06-14T11:46:34 Fixed parsing for entities and <> chars
David Lantner ce86de5b 2012-11-30T10:46:52 Change 'cdata' regex to capture empty instances Changing "+" to "*" enables the regex to match zero or more occurrences of the preceding range instead of one or more occurrences. In cases where there are multiple CDATA sections, the opening tag ("<![CDATA[") of the first section and the closing tag ("]]>") of the next section are captured as a single instance. Demo: http://dabblet.com/gist/4176483
Lea Verou 40ce3954 2012-11-13T16:30:49 Fixed bug with self-closing tags
Lea Verou 577a5890 2012-11-12T05:35:39 Fixed HTML highlighting bugs
Lea Verou 2099172d 2012-11-12T05:35:39 Fixed HTML highlighting bugs
Lea Verou ea89ab60 2012-07-29T01:35:13 Minor improvements to Markup
Lea Verou 9eeeb7c6 2012-07-29T01:03:05 Moved inline CSS & JS to their language definitions
Lea Verou 54e2eeab 2012-07-29T00:26:50 Added (and documented) Prism.languages.insertBefore
Lea Verou ae4b4812 2012-07-23T19:16:50 Fixed entity tooltip
Lea Verou bdb8fae8 2012-07-13T15:11:03 Added hooks system, moved entity tooltips to the Markup language, as a plugin
Lea Verou a97d26b2 2012-07-13T02:31:49 Added highlighting for CDATA sections
Lea Verou 2d57ff2a 2012-07-12T19:07:05 Added highlighting for doctypes & XML prolog, removed the iframed examples and replaced them with XHR
Lea Verou 6dc08f3d 2012-07-12T17:18:48 Renamed html to markup, since it’s also about XML