components/prism-markup.js


Log

Author Commit Date CI Message
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