a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <a style="float:right" href="README.html">README</a>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Perl formatting is really crappy. Partly because the author is lazy and
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra partly because Perl is
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <a href="http://www.perlmonks.org/?node_id=663393">hard</a> to parse.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>On some browsers, <code><code></code> elements with newlines in the text
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra which use CSS to specify <code>white-space:pre</code> will have the newlines
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra improperly stripped if the element is not attached to the document at the time
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra the stripping is done. Also, on IE 6, all newlines will be stripped from
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <code><code></code> elements because of the way IE6 produces
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <code>innerHTML</code>. Workaround: use <code><pre></code> for code with
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Added <a href="tests/prettify_test.html#PHP">tests</a> for PHP support
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=3"
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra >issue 3</a>.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=6"
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra >bug</a>: <code>prettyPrintOne</code> was not halting. This was not
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra reachable through the normal entry point.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=4"
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra >bug</a>: recursing into a script block or PHP tag that was not properly
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra closed would not silently drop the content.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra (<a href="tests/prettify_test.html#issue4">test</a>)
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=8"
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra >bug</a>: was eating tabs
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra (<a href="tests/prettify_test.html#issue8">test</a>)
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Fixed entity handling so that the caveat
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <blockquote>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <p>Caveats: please properly escape less-thans. <tt>x&lt;y</tt>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra instead of <tt>x<y</tt>, and use <tt>"</tt> instead of
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra </blockquote>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra is no longer applicable.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Added noisefree's C#
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=4"
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Added a <a href="http://google-code-prettify.googlecode.com/files/prettify-small.zip">distribution</a> that has comments and
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra whitespace removed to reduce download size from 45.5kB to 12.8kB.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Added <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=17">language specific formatters</a> that are triggered by the presence
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra of a <code>lang-<language-file-extension></code></li>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Fixed <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=29">bug</a>: python handling of <code>'''string'''</code>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Fixed bug: <code>/</code> in regex <code>[charsets] should not end regex</code>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Defined language extensions for Lisp and Lua</code>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Support for <code>nocode</code> spans to allow embedding of line
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra numbers and code annotations which should not be styled or otherwise
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra affect the tokenization of prettified code.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra See the issue 22
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <a href="tests/prettify_test.html#issue22">testcase</a>.</code>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Language handlers for Visual Basic, Haskell, CSS, and WikiText</li>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Added <tt>.mxml</tt> extension to the markup style handler for
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra Flex <a href="http://en.wikipedia.org/wiki/MXML">MXML files</a>. See
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra href="http://code.google.com/p/google-code-prettify/issues/detail?id=37"
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra >issue 37</a>.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Added <tt>.m</tt> extension to the C style handler so that Objective
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra C source files properly highlight. See
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra href="http://code.google.com/p/google-code-prettify/issues/detail?id=58"
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra >issue 58</a>.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Changed HTML lexer to use the same embedded source mechanism as the
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra wiki language handler, and changed to use the registered
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra CSS handler for STYLE element content.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Rewrote to improve performance on large files.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra See <a href="http://mikesamuel.blogspot.com/2009/05/efficient-parsing-in-javascript.html">benchmarks</a>.</li>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Fixed bugs with highlighting of Haskell line comments, Lisp
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra number literals, Lua strings, C preprocessor directives,
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra newlines in Wiki code on Windows, and newlines in IE6.</li>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Fixed prettifying of <code><code></code> blocks with embedded newlines.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Fixed prettifying of XML/HTML tags that contain uppercase letters.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Added support for line numbers. Bug
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=22"
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Added YAML support. Bug
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=123"
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>IE performance improvements. Bug
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <a href="http://code.google.com/p/google-code-prettify/issues/detail?id=102"
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>A variety of markup formatting fixes courtesy smain and thezbyg.</li>
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Fixed copy and paste in IE[678].
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <li>Changed output to use <code>&#160;</code> instead of
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra <code>&nbsp;</code> so that the output works when embedded in XML.