summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/rhtml.rb
Commit message (Collapse)AuthorAgeFilesLines
* Major rewrite of encoders to support IO output; fixed some minor scanner ↵Kornelius Kalnbach2011-08-191-77/+0
| | | | bugs; cleanups; dropped NitroXHTML scanner; improved tests
* new method Scanner#scan_rest (upported from 0.9.8), and Scanner::ScanError ↵murphy2011-05-211-1/+1
| | | | is now a StandardError
* Fixing RHTML comments (#241).murphy2010-07-141-2/+6
|
* Got rid of the old streaming system (see #142).murphy2010-05-011-1/+0
|
* Direct Streaming! See #142 and Changes.textile.murphy2010-05-011-26/+26
|
* Cleanups for C, C++, CSS, Delphi, Groovy, Java, PHP, Python, RHTML, XML, and ↵murphy2010-03-261-4/+4
| | | | YAML scanners.
* Updating scanners: Ruby 1.9 warnings, KINDS_NOT_LOCmurphy2009-10-191-1/+3
| | | | | * Also, DATABASE is a SQL keyword.
* New: Plugin.title (closes #96)murphy2009-06-091-0/+1
| | | | | | | The title saves the real name for a language, like "C++"...something that can't be deduced from the class name. And a version fix in the README.
* Removed subversion $Id$ lines.murphy2009-02-201-2/+0
|
* Fixed RHTML and NitroXHTML scanners to use new :inline_delimiter tokens.murphy2006-10-201-2/+2
|
* Changed error handling of all scanners: :error tokens are OK now, even in ↵murphy2006-07-111-65/+73
| | | | | | | | | | | | | debug mode, but token kind is nil unless assigned. Small fixes for C and Ruby scanners. Renamed local variable type to kind in Ruby scanner. Improved RHTML scanner to recognize -%> as delimiter. HTML encoder: improved handling of malformed token strings. Fixed PluginHost#inspect including docu. Scanner#raise_inspect also shows state if given.
* Big re-indenting - no more tabs!murphy2006-07-101-59/+59
|
* Re-indented everything. Sorry to break the blame chain.murphy2006-04-161-2/+4
|
* Large update: Scanners for HTML, RHTML and Nitro-XHTML added.murphy2006-04-101-0/+63
CSS style changes/enhancments (mainly the new background color for inline code, affects all Ruby code.) Demos and tests adjusted. Plugin: new PluginHost::default method. Scanner: - New setup method - ability to re-use a scanner - ability to keep the tokens - minor changes to token caching and string flattening Encoder: Error if token content is neither String nor Symbol. HTML encoder: - more warnings for unclosed tokens - output now UTF-8 Ruby Scanner: - bug: symbols before => now do not include =; {:foo=>bar} is valid Ruby code - try to close all open tokens - constants now all with specific namespace (for speed, I hope) Styles: new :entity/en class. Test suite now gives hinted HTML output.