Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Add support for Delphi #543

Open
wants to merge 225 commits into
base: release-10-Feb-2013
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
caafe31
modified run_prettyprint.js to use the new /loader URLs that contain …
Feb 10, 2013
0da5734
fixed bug: cut_release.sh was using diff -q backwards and not suppres…
Feb 11, 2013
db00d4e
tab cleanup
Feb 20, 2013
9eed27c
LLVM mode courtesy Nikhil Dabas
Feb 20, 2013
abdc45d
cleanup
Feb 20, 2013
743332e
fix bug: run_prettify ignored first query parameter
Feb 20, 2013
7a8525d
issue 224 : allow embedding language hints in processing instructions…
Feb 22, 2013
2c1a0e0
tweaked example file
Feb 22, 2013
af02d25
updated list of language extensions
Feb 22, 2013
d1fdb01
updated change list
Feb 22, 2013
f5972ab
look for <?prettify?> even when there is no class="prettyprint"
Feb 23, 2013
4a84ea5
consolidated tools in a tools directory and fleshed out cut_release t…
Feb 23, 2013
dac85f6
updated cut_release to make it easier to generate download archives
Feb 25, 2013
f8b91db
fix bug: conflated TODAY and RELEASE_LABEL
Feb 25, 2013
4f16682
fixed relative path
Feb 25, 2013
e4f86f4
added assertion to ensure CDN files are lower-7 ascii and fix downloa…
Feb 25, 2013
f133b61
fix issue 217: regex matching after runs of punctuation
Feb 25, 2013
e96dfeb
updated documentation
Feb 25, 2013
251b599
fixed autoloader code that waited until all language modules loaded t…
Mar 1, 2013
9ccfe8e
added option to avoid creating a new branch when all I want to do is …
Mar 1, 2013
33b3369
fix bug: release label date contains space when day of month < 10
Mar 1, 2013
9d50782
fixed flag parsing typo
Mar 1, 2013
8afe17b
a script for sussing out the relationship between language extension …
Mar 4, 2013
52394f6
issue 32: matlab mode courtesy amroamroamro
Mar 4, 2013
d8c7a78
make regex-literals single line by default
Mar 4, 2013
abb06d9
make window an alias for global scope when interpreting JS
Mar 4, 2013
b193e34
added build rules for language handler aliases so that lang-scm.js in…
Mar 4, 2013
12a2783
fixed bug: wrong version of lang file was being aliased. unminified …
Mar 4, 2013
96f2739
fixed usage example typo reported by pijusnav...
May 15, 2013
2281594
fix for autoloader in FF3 which does not have document.scripts courte…
Jun 21, 2013
45c1c6d
fixed code sample formatting in README
Jun 21, 2013
d0fd4e3
fix a few bugs related to C# keywords
Jun 26, 2013
7466daa
Added test_in_node script to run (some) tests from command line via n…
Mar 3, 2014
6c2a6ab
Translated README from HTML to Github Markdown
mikesamuel Apr 28, 2015
9e8f5de
Translated README from HTML to Github Markdown
mikesamuel Apr 28, 2015
1c2f641
Doc fixup
mikesamuel Apr 28, 2015
778fc50
Doc fixup
mikesamuel Apr 28, 2015
2f37065
Doc fixup
mikesamuel Apr 28, 2015
8195745
migrated docs from google code
mikesamuel Apr 28, 2015
f56e885
README: added link to example
mikesamuel Apr 28, 2015
b5d4e89
doc fixup: fixed markdown table
mikesamuel Apr 28, 2015
88f6e91
doc fixup: fixed markdown table
mikesamuel Apr 28, 2015
6aa04af
reworked references from code.google to point to github or rawgit
mikesamuel Apr 28, 2015
87e9be2
fix autoload of skins. Skins were not being copied to loader/ where …
mikesamuel Apr 28, 2015
e64f959
loader/skins now contains skin CSS
mikesamuel Apr 28, 2015
3be9839
move skins to loader/skins from loader/
mikesamuel Apr 28, 2015
223fa0c
minor fixes in README
amroamroamro Apr 28, 2015
ddfdcb1
use dev/testing RawGit URLs for example/demo pages
amroamroamro Apr 28, 2015
1eb0269
add link in README file to support group on Google Groups
amroamroamro Apr 28, 2015
0d7e103
mention code license in README file
amroamroamro Apr 28, 2015
b7403e5
migrate CHANGES from HTML to Markdown
amroamroamro Apr 28, 2015
0d017d2
migrate CHANGES from HTML to Markdown
amroamroamro Apr 28, 2015
0e47c2b
minor fixes
amroamroamro Apr 28, 2015
6bd3846
add hyperlinks to bugs
amroamroamro Apr 28, 2015
9a436eb
bold class to better be noticed
9px May 17, 2015
5a6b0b9
Add lexer for the Logtalk programming language
pmoura May 20, 2015
0e581dd
Allow keys to contain hyphens
clayreimann Jun 23, 2015
2728c81
Add a file for the Swift language lexer definition.
cassierecher Jul 31, 2015
3544d6d
Add support for whitespace and comments
cassierecher Jul 31, 2015
39c8ded
Add highlighting for Swift keywords
cassierecher Jul 31, 2015
9470948
Add highlighting for string literals
cassierecher Jul 31, 2015
44d0bbe
Add shortcut for string literal detection to Swift
cassierecher Aug 3, 2015
aea6b50
Add integer literal support for Swift
cassierecher Aug 3, 2015
ecc1639
Fixes and improvements for Swift
cassierecher Aug 3, 2015
541e077
Add floating point literal support for Swift.
cassierecher Aug 3, 2015
742e4b7
Add punctuation support for Swift
cassierecher Aug 3, 2015
139b55e
Add punctuation support for Swift
cassierecher Aug 3, 2015
391e4c1
Merge branch 'master' of github.com:chrisrecher/code-prettify
cassierecher Aug 3, 2015
d62783a
Add type support for Swift, to the fullest extent possible in a lexer
cassierecher Aug 3, 2015
3b61deb
Remove unnecessary comments
cassierecher Aug 4, 2015
1b8368b
Merge pull request #371 from amroamroamro/markdown_fixes
mikesamuel Aug 14, 2015
11d4c92
Merge pull request #373 from 9px/patch-1
mikesamuel Aug 14, 2015
a4f3779
Merge pull request #376 from clayreimann/patch-1
mikesamuel Aug 14, 2015
5e3b25c
Merge pull request #374 from LogtalkDotOrg/master
mikesamuel Aug 14, 2015
108ecfb
Add proper support for Rust.
chris-morgan May 25, 2015
2ea4988
Updated CSHARP_KEYWORDS
weitzhandler Aug 17, 2015
0dc62dc
Merge pull request #375 from chris-morgan/master
mikesamuel Aug 17, 2015
b5342cd
Fix oversight in Swift string literal regex.
cassierecher Aug 18, 2015
818c0f3
Merge pull request #383 from chrisrecher/master
mikesamuel Aug 19, 2015
2184f47
Merge pull request #384 from weitzhandler/patch-1
mikesamuel Aug 19, 2015
1231e0f
Update the list of supported languages in the readme file
pmoura Aug 23, 2015
880a07f
add lexer for the Lasso language
EricFromCanada Jun 23, 2015
201cc61
Remove trailing comma that might confuse IE8
cassierecher Sep 1, 2015
03a14dd
Change Swift license text to /* comment style
cassierecher Sep 1, 2015
3bf6569
Add missed Swift keywords
cassierecher Sep 1, 2015
3eb4bad
Merge pull request #386 from LogtalkDotOrg/master
mikesamuel Sep 3, 2015
b7063cd
Merge pull request #388 from chrisrecher/master
mikesamuel Sep 3, 2015
1f9e4b0
Change license comment format to integrate more closely with build
cassierecher Sep 8, 2015
9de9c94
Add async, await and sync support for Dart
Sep 9, 2015
db9923b
Remove whitespace
Sep 9, 2015
8e467cb
Merge pull request #392 from gsathya/update_dart
mikesamuel Sep 9, 2015
e24e3dc
Merge pull request #391 from chrisrecher/master
mikesamuel Sep 9, 2015
b314a2d
Merge pull request #377 from EricFromCanada/master
mikesamuel Sep 9, 2015
ba2dce4
Update Swift keywords for Swift 2
cassierecher Sep 22, 2015
332033e
Merge remote-tracking branch 'upstream/master'
cassierecher Sep 22, 2015
3bf34ec
Update README.md
mikesamuel Oct 2, 2015
e57576e
Update README.md
mikesamuel Oct 2, 2015
770dbba
There is no \x class for the characters 0-9 and a-f.
FSchumacher Oct 29, 2015
0db2eb6
Merge pull request #401 from FSchumacher/regex-hexdigits
mikesamuel Nov 2, 2015
8afc3ef
Include JAVA_KEYWORDS in ALL_KEYWORDS
sfreilich Dec 3, 2015
72a7bfc
use v8 if spidermonkey not installed to extract language handler alia…
mikesamuel Dec 4, 2015
7c60184
prettify.js: remove registration of rust language handler which block…
mikesamuel Dec 4, 2015
4d30912
lang-dart: treat capitalized identifiers as types per convention
mikesamuel Dec 4, 2015
203d378
cleanup test goldens which have diverged from reality a little mostly…
mikesamuel Dec 4, 2015
4b71291
a new release
mikesamuel Dec 4, 2015
58f5245
Merge pull request #408 from sfreilich/keywords
mikesamuel Dec 4, 2015
988b78f
Merge pull request #395 from chrisrecher/master
mikesamuel Dec 4, 2015
6708970
integrated pull requests from others which required some tweaking of …
mikesamuel Dec 4, 2015
2f52d8b
some tweaks that makes it work nicely with closure compiler with more…
mikesamuel Dec 4, 2015
3d8ae1d
made sure all source files have closure compiler compatible @license …
mikesamuel Dec 4, 2015
5f46b0c
got JS compiling clean with modern version of JSCompiler
mikesamuel Dec 7, 2015
bb21563
(c) header for externs file
mikesamuel Dec 7, 2015
da17188
fix typo in comment: 20015 is not the current year
mikesamuel Dec 7, 2015
1ad1be8
added (c) comment to main CSS files
mikesamuel Dec 7, 2015
3168ed8
updated YUI compressor
mikesamuel Dec 8, 2015
906a762
updated YUI compressor
mikesamuel Dec 8, 2015
7be640c
reworked AMD define code to require fewer externs
mikesamuel Dec 8, 2015
c67d802
added var definition for PR so that prettify.js fully describes its A…
mikesamuel Dec 8, 2015
b0cf68e
Add Swift 2.1 keywords.
cassierecher Dec 30, 2015
4bf7590
Merge pull request #415 from chrisrecher/master
mikesamuel Jan 2, 2016
eace8e0
Fixed #265: Added async/await C# keywords support
pedrolamas Jan 23, 2016
af3bf28
Merge pull request #418 from PedroLamas/patch-1
mikesamuel Feb 5, 2016
2857525
Support TypeScript, add more JS keywords.
mprobst Feb 10, 2016
bc2e67e
capitalize 'P' in PR.prettyPrint()
Feb 19, 2016
df12927
Merge pull request #426 from ryanpcmcquen/patch-1
mikesamuel Feb 19, 2016
be5ca00
Merge pull request #423 from mprobst/ts-more-kws
mikesamuel Feb 25, 2016
bae7443
Remove unnecessary border radius
wesbos Apr 12, 2016
9c3730f
Merge pull request #431 from wesbos/patch-1
mikesamuel Apr 12, 2016
931e5c1
refactor the makefile
amroamroamro Jul 7, 2016
07792f9
apply commit eace8e0c to the unprocessed soure code
amroamroamro Jul 6, 2016
6dc0793
apply commit 28575254 to the unprocessed source code
amroamroamro Jul 6, 2016
f826753
add new C/C++ keywords and types
amroamroamro Jul 22, 2016
e2777a9
reapply patch from PR #384 that was undone by later changes
amroamroamro Jul 5, 2016
912e731
a hack to fix an issue with js_include.pl
amroamroamro Jul 6, 2016
81c406f
typo, fixes #361
amroamroamro Jul 13, 2016
505dfb6
wrap inside IIFE
amroamroamro Dec 17, 2016
720cd66
doc edits
amroamroamro Dec 17, 2016
c8a660b
cut a release and commit generated files
amroamroamro Jan 13, 2017
75a4af8
doc typo
amroamroamro Jan 14, 2017
2d5201f
aliases: simpler file exist check
amroamroamro Jan 14, 2017
574b462
aliases: sort extensions to ensure deterministic output
amroamroamro Jan 14, 2017
04e95f6
Merge pull request #467 from amroamroamro/patch-makefile
mikesamuel Jan 18, 2017
f6c4ce7
Patch 2: grunt (#469)
amroamroamro Jan 20, 2017
1c3b5f4
minor examples edits
amroamroamro Jan 9, 2017
00d8626
demo edits
amroamroamro Jan 9, 2017
0de333c
organize into functions
amroamroamro Jan 9, 2017
cbf672c
demo edits
amroamroamro Jan 9, 2017
ff61e72
demo: refactor into a function
amroamroamro Jan 9, 2017
0da6b01
apply ID on iframe for easier DOM traversal
amroamroamro Jan 9, 2017
55b4f0c
set css class names and apply some styling
amroamroamro Jan 9, 2017
3ebd6f7
retrieve theme using name property of iframe
amroamroamro Jan 9, 2017
50ad4f2
add a redirect in demo page if loaded directly
amroamroamro Jan 9, 2017
32b07b7
fix CDN path in example
amroamroamro Jan 22, 2017
c1176f5
ie_compat_test: fix syntax error
amroamroamro Jan 5, 2017
42bea51
ie_compat_test: minor edits and updates
amroamroamro Jan 10, 2017
b535817
ie_nl_test: minor formatting edits
amroamroamro Jan 10, 2017
1c18463
ie_nl_test: group all JS code at the end
amroamroamro Jan 10, 2017
4d43730
ie_nl_test: fix typo (extra space in join delimiter)
amroamroamro Jan 11, 2017
59adcab
ie_nl_test: remove duplicate test
amroamroamro Jan 11, 2017
af237e5
ie_nl_test: properly close tags in generated test
amroamroamro Jan 11, 2017
584409b
large_input_test: minor edits
amroamroamro Jan 10, 2017
ec255a6
large_input_test: more edits
amroamroamro Jan 10, 2017
d990c1b
large_input_test: show timestamp in log messages
amroamroamro Jan 10, 2017
aa6f1f2
large_input_test: add a simple progress bar
amroamroamro Jan 10, 2017
687065a
large_input_test: plot benchmark results
amroamroamro Jan 10, 2017
eca8927
run_prettify_test: correct path to minified version
amroamroamro Jan 5, 2017
9b6bd9e
run_prettify_test: remove bogus callback
amroamroamro Jan 5, 2017
47dabd6
run_prettify_test: minor edits
amroamroamro Jan 10, 2017
15c21d5
run_prettify_test: dynamically load script
amroamroamro Jan 10, 2017
a3e7625
prettify_tests: update golden for java test
amroamroamro Jan 5, 2017
491098d
prettify_tests: escape html entities inside PRE tags
amroamroamro Jan 5, 2017
d607542
prettify_tests: minor edits
amroamroamro Jan 11, 2017
94c368a
prettify_tests: edit tests names and descriptions
amroamroamro Jan 12, 2017
51c0d80
prettify_tests: add missing goldens for 2 tests
amroamroamro Jan 12, 2017
a39dc13
prettify_tests: simpler load of test_base.js
amroamroamro Jan 12, 2017
8d3efaa
test_base: place all functions under one scope
amroamroamro Jan 11, 2017
8503958
test_base: simpler code for measuring timing
amroamroamro Jan 11, 2017
5fdb5a3
test_base: refactor + reorganize + comments
amroamroamro Jan 11, 2017
fa66225
test_base: updated output of test report + styled
amroamroamro Jan 11, 2017
5264f97
test_base: show diff in a table
amroamroamro Jan 11, 2017
573d0a5
test_base: show whitespace characters in diffs
amroamroamro Jan 11, 2017
ad486a6
test_in_node: fix indentation
amroamroamro Jan 12, 2017
fa71b31
test_in_node: simple require
amroamroamro Jan 12, 2017
f4d8bd8
test_in_node: zombie api changed a bit
amroamroamro Jan 12, 2017
ed95838
test_in_node: code comments + formatting
amroamroamro Jan 12, 2017
21fb3ac
test_in_node: update code to parse test results
amroamroamro Jan 12, 2017
cc99f39
test_in_node: refactor and renaming
amroamroamro Jan 12, 2017
9c2b519
test_in_node: simple log of messages
amroamroamro Jan 12, 2017
73d51eb
test_in_node: fix handling of local path
amroamroamro Jan 12, 2017
05e2347
test_in_node: added test dependencies
amroamroamro Jan 20, 2017
3f89991
modules_tests: move files to "tests" directory
amroamroamro Jan 14, 2017
126f3e5
modules_tests: adjust relative scripts paths
amroamroamro Jan 14, 2017
cbfaea7
modules_tests: use RawGit CDN for external scripts
amroamroamro Jan 14, 2017
bd44ec8
modules_tests: fix calls to match func sigatures
amroamroamro Jan 14, 2017
a130866
modules_tests: move common shims in seperate file
amroamroamro Jan 14, 2017
c12c0e4
modules_tests: minor edits
amroamroamro Jan 14, 2017
2e91cf6
modules_tests: move CSS to common stylesheet
amroamroamro Jan 14, 2017
72fb21c
modules_tests: properly close tags
amroamroamro Jan 14, 2017
fafaeea
modules_tests: comments + minor edits
amroamroamro Jan 14, 2017
80860ab
modules_tests: set classnames input/golden/actual
amroamroamro Jan 14, 2017
185276e
modules_tests: fill job object fields
amroamroamro Jan 14, 2017
22643f2
modules_tests: update test reporting
amroamroamro Jan 14, 2017
74828a3
modules_tests: additional HTML normalization in tests
amroamroamro Jan 14, 2017
b84166d
prettify_tests: add a simple module loader instead of document.write
amroamroamro Jan 12, 2017
d751df3
prettify_tests: move test golden into own scripts
amroamroamro Jan 14, 2017
61f16eb
minor fixes
amroamroamro Jan 22, 2017
e9fae9a
element nodeName is case sensitive (fix #309)
amroamroamro Jan 22, 2017
760e6e7
Add Elixir language support (#478)
nietaki Mar 15, 2017
f425d31
Kotlin support (#496)
mibac138 Aug 15, 2017
8913c2f
small changes so that it can be used directly in a npm pipeline (#476)
alex-milanov Nov 3, 2017
c1433b2
Download link 404 (#490)
Nov 3, 2017
bc963bb
Update lang-swift.js (#487)
Coeur Nov 3, 2017
db324ae
define should be anonymous (#472)
graingert Nov 3, 2017
2947694
Format i128 and u128 in Rust. (#465)
clarfonthey Nov 3, 2017
bc58215
update lang-lasso.js (#443)
EricFromCanada Nov 3, 2017
05ad1b7
Regenerated snapshotted files after merging a number of PRs.
mikesamuel Nov 3, 2017
5cd53ec
Add `import` and `of` (`for`-`of`) to JSCRIPT_KEYWORDS (#530)
mathiasbynens Mar 5, 2018
b168747
patch previous commit into the files of record and rebuild derivatives
mikesamuel Mar 5, 2018
fbd527e
completing swift keywords: _, Any, repeat, throws, where (#528)
Coeur Mar 5, 2018
453bd5f
Add `from` as a JavaScript keyword (#539)
mathiasbynens Apr 29, 2018
f20e152
Add top link to rawgit migration announcement
mikesamuel Feb 25, 2019
b5fa4d1
Remove RawGit dependency. (#573)
ncruces Mar 5, 2019
e14ed1c
Rust: Add missing dyn keyword, and add new reserved key word async, a…
Stargateur Apr 5, 2019
f1c3473
Fix hex color typo (#595)
Jun 20, 2019
e006587
docs: mark as archived
grant Apr 21, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# temporary files
*~
*.swp
.DS_Store

# package managers
/node_modules/
/bower_components/
npm-debug.log
.bower.json

# generated files
#/src/prettify.js
#/src/run_prettify.js
#/loader/*.js
#/loader/*.css
#/loader/skins/*.css
#/distrib/*.zip
162 changes: 0 additions & 162 deletions CHANGES.html

This file was deleted.

137 changes: 137 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
# Known Issues

* Perl formatting is really crappy. Partly because the author is lazy and partly
because Perl is [hard](http://www.perlmonks.org/?node_id=663393) to parse.
* On some browsers, `<code>` elements with newlines in the text which use CSS
to specify `white-space:pre` will have the newlines improperly stripped if
the element is not attached to the document at the time the stripping is done.
Also, on IE6, all newlines will be stripped from `<code>` elements because
of the way IE6 produces `innerHTML`. Workaround: use `<pre>` for code with
newlines.

# Change Log

## 29 March 2007

* Added [tests](https://raw.githack.com/google/code-prettify/master/tests/prettify_test.html#php)
for PHP support to address issue [#3](https://github.com/google/code-prettify/issues/3).
* Fixed bug [#6](https://github.com/google/code-prettify/issues/6): `prettyPrintOne`
was not halting. This was not reachable through the normal entry point.
* Fixed bug [#4](https://github.com/google/code-prettify/issues/4): recursing into a
script block or PHP tag that was not properly closed would not silently drop the content.
([test](https://raw.githack.com/google/code-prettify/master/tests/prettify_test.html#js_script))
* Fixed bug [#8](https://github.com/google/code-prettify/issues/8): was eating tabs
([test](https://raw.githack.com/google/code-prettify/master/tests/prettify_test.html#issue8))
* Fixed entity handling so that the caveat

> Caveats: please properly escape less-thans. `x&lt;y` instead of `x<y`,
> and use `"` instead of `&quot;` for string delimiters.

is no longer applicable.
* Added *noisefree*'s C# patch [#7](https://github.com/google/code-prettify/issues/7)
* Added a [distribution](http://google-code-prettify.googlecode.com/files/prettify-small.zip)
that has comments and whitespace removed to reduce download size from 45.5kB
to 12.8kB.

## 4 Jul 2008

* Added [#17](https://github.com/google/code-prettify/issues/17) language specific
formatters that are triggered by the presence of a `lang-<language-file-extension>`
* Fixed bug [#29](https://github.com/google/code-prettify/issues/29): python
handling of `'''string'''`
* Fixed bug: `/` in regex `[charsets] should not end regex`

## 5 Jul 2008

* Defined language extensions for Lisp and Lua

## 14 Jul 2008

* Language handlers for F#, OCAML, SQL
* Support for `nocode` spans to allow embedding of line numbers and code
annotations which should not be styled or otherwise affect the tokenization
of prettified code. See the issue [#22](https://github.com/google/code-prettify/issues/22)
[testcase](https://raw.githack.com/google/code-prettify/master/tests/prettify_test.html#issue22).

## 6 Jan 2009

* Language handlers for Visual Basic, Haskell, CSS, and WikiText
* Added `.mxml` extension to the markup style handler for
Flex [MXML files](http://en.wikipedia.org/wiki/MXML).
See issue [#37](https://github.com/google/code-prettify/issues/37).
* Added `.m` extension to the C style handler so that Objective C source files
properly highlight. See issue [#58](https://github.com/google/code-prettify/issues/58).
* Changed HTML lexer to use the same embedded source mechanism as the wiki
language handler, and changed to use the registered CSS handler for STYLE
element content.

## 21 May 2009

* Rewrote to improve performance on large files.
See [benchmarks](http://mikesamuel.blogspot.com/2009/05/efficient-parsing-in-javascript.html).
* Fixed bugs with highlighting of Haskell line comments, Lisp number literals,
Lua strings, C preprocessor directives, newlines in Wiki code on Windows, and
newlines in IE6.

## 14 August 2009

* Fixed prettifying of `<code>` blocks with embedded newlines.

## 3 October 2009

* Fixed prettifying of XML/HTML tags that contain uppercase letters.

## 19 July 2010

* Added support for line numbers. Bug [#22](https://github.com/google/code-prettify/issues/22)
* Added YAML support. Bug [#123](https://github.com/google/code-prettify/issues/123)
* Added VHDL support courtesy *Le Poussin*.
* IE performance improvements. Bug [#102](https://github.com/google/code-prettify/issues/102)
courtesy *jacobly*.
* A variety of markup formatting fixes courtesy *smain* and *thezbyg*.
* Fixed copy and paste in IE 6, 7, 8.
* Changed output to use `&#160;` instead of `&nbsp;` so that the output works
when embedded in XML. Bug [#108](https://github.com/google/code-prettify/issues/108).

## 7 September 2010

* Added support for coffeescript courtesy *Cezary Bartoszuk*.

## 4 March 2011

* Added a [themes gallery](https://raw.githack.com/google/code-prettify/master/styles/index.html)
to showcase contributed styles.
* Added support for XQuery courtesy *Patrick Wied*, Nemerle courtesy *Zimin A.V.*,
and Latex support courtesy *Martin S*.

## 29 March 2011

* Fixed IE newline issues, and copying/pasting of prettified source code from IE.
This required significant internal changes but involves no API changes.
**Caveat**: `prettyPrintOne` injects the HTML passed to it into a `<pre>` element.
If the HTML comes from a trusted source, this may allow XSS. Do not do this.
This should not be a problem for existing apps since the standard usage is to
rewrite the HTML and then inject it, so anyone doing that with untrusted HTML
already has an XSS vulnerability. If you sanitize and prettify HTML from an
untrusted source, sanitize first.

## 4 February 2013

* Language handlers for Dart, Erlang, Mumps, TCL, R, S., and others
* Bug fix: VB REM style comments.
* Bug fix: CSS color literals / ID selector confusion.
* Bug fix: IE8 line breaks.

## 24 February 2013

* Added a one script autoload&run mechanism and a way to embed hints in
processing instructions/comments. See
[example](https://raw.githack.com/google/code-prettify/master/examples/quine.html).

## 4 March 2013

* Matlab language handler courtesy *Amro³*

## 28 Apr 2015

* Migrated to Github
Loading