summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html.rb
Commit message (Collapse)AuthorAgeFilesLines
* Get tests running with frozen string literals.Pat Allan2017-06-281-2/+2
|
* document new option to keep tabsKornelius Kalnbach2016-02-131-1/+2
|
* HTML envoder keeps \t with tab_width: falseKornelius Kalnbach2014-05-171-1/+1
| | | | Fixes #170
* fix coderay -HTML optionv1.1.0.rc5Kornelius Kalnbach2013-08-301-6/+8
|
* limit HTML encoder span_for_kinds cache sizev1.1.0.rc3Kornelius Kalnbach2013-07-211-2/+4
|
* rename local variableKornelius Kalnbach2013-07-211-2/+2
|
* don't dup @span_for_kinds hash keysKornelius Kalnbach2013-07-211-1/+1
|
* no attack vector foundKornelius Kalnbach2013-07-211-1/+0
|
* mark possibly problematic spots with FIXMEKornelius Kalnbach2013-07-201-0/+2
|
* HTML encoder shouldn't warn about open tokensKornelius Kalnbach2013-06-231-1/+0
|
* cleanup HTML encoder CSS styles/classes algorithm (#135)Kornelius Kalnbach2013-06-101-21/+33
|
* simplify more HTML encoder methods (#135)Kornelius Kalnbach2013-06-101-20/+17
|
* cleanup HTML encoder #setup (#135)Kornelius Kalnbach2013-06-101-38/+32
|
* cleanup HTML encoder (#135)Kornelius Kalnbach2013-06-101-33/+33
|
* whitespaceKornelius Kalnbach2013-06-091-4/+2
|
* rename :independent_lines option to :break_linesKornelius Kalnbach2012-04-021-5/+6
|
* here come the white-space nazisKornelius Kalnbach2012-04-011-11/+12
|
* Fixed handling of eols inside token content.Etienne Massip2012-03-291-6/+10
|
* Extracted code making HTML lines independent from numbering code to a ↵Etienne Massip2012-01-261-4/+23
| | | | specific option in encoder.
* Bug #6: merge ConradIrwin's approach with korny'sKornelius Kalnbach2011-12-271-3/+3
|
* Remove assumption about a stable $:Conrad Irwin2011-12-231-3/+3
| | | | | | | | | | In some environments (e.g. [1]) $: can change between loading the library and using it. To avoid this problem, we always pass an absolute path to autoload internal modules. [1] https://github.com/pry/pry/issues/280
* pretty (longer) token class names; closes #347Kornelius Kalnbach2011-08-191-1/+0
|
* Major rewrite of encoders to support IO output; fixed some minor scanner ↵Kornelius Kalnbach2011-08-191-1/+11
| | | | bugs; cleanups; dropped NitroXHTML scanner; improved tests
* cleanups: Page encoder is default for HTML, benchmark KB/s instead of tokens/smurphy2011-07-041-1/+1
|
* #309 Improved highlighting of Ruby inside diffsmurphy2011-06-221-6/+6
|
* #299 fix transparent tokensmurphy2011-05-211-10/+8
|
* renamed pre_* token kinds to predefined_*murphy2011-04-171-7/+1
|
* Use autoload in HTML encoder; speedup for :css => :class mode.murphy2011-03-011-11/+17
|
* Code cleanups in HTML encoder.murphy2010-10-151-29/+24
|
* Fixed line token classes when using hints.murphy2010-09-221-1/+5
|
* Fix invalid HTML markup for line tokens (use span + CSS instead of div).murphy2010-09-221-3/+3
|
* Fixed HTML encoder :hint => info option.murphy2010-08-231-1/+1
|
* Use autoload instead of require (speeds up CodeRay startup) for CodeRay, ↵murphy2010-06-291-5/+9
| | | | Scanner, Tokens, and Encoders::HTML.
* More speedups for HTML encoding (numbering, CSS styles, Ruby 1.9).murphy2010-06-271-27/+11
|
* Trying out a simplified, faster method of HTML encoding.murphy2010-06-271-42/+41
|
* Cleanups in Encoders::HTML::Output.murphy2010-06-011-2/+2
|
* Fixed a problem with line tokens when using :hint => :debug in the HTML encoder.murphy2010-05-051-2/+2
|
* Got rid of the old streaming system (see #142).murphy2010-05-011-1/+0
|
* Direct Streaming! See #142 and Changes.textile.murphy2010-05-011-88/+83
|
* New HTML Encoder option :line_number_anchors (closes #208).murphy2010-04-021-1/+10
| | | | | Also removed the :list wrapping style, and made a lot of cleanup in the styles. See Changes.textile.
* Upporting changes from 0.9.2 (vs. 0.9.1).murphy2010-03-311-2/+2
|
* Use new :alpha style be default. This means IE will have problems with the ↵murphy2010-03-311-1/+1
| | | | colors.
* Renamed token_classes to token_kinds (closes #122).murphy2010-03-301-17/+18
| | | | | | | | | * *RENAMED* from ClassOfKind. The term "token class" is no longer used in CodeRay. Instead, tokens have _kinds_. * *RENAMED* TokenKindFilter to TokenClassFilter. * *ADDED* documentation on encoders affected by the term change. * *REMOVED* token kinds :attribute_name_fat, :attribute_value_fat, :operator_fat, :tag_fat, and :xml_text. * *ADDED* token kind :filename.
* Encoders::HTML#token's second parameter is no longer optional.murphy2010-01-061-1/+1
|
* Cleanup.murphy2010-01-011-1/+1
|
* Cleanup.murphy2009-12-301-2/+1
|
* Removed obsolete :level property from HTML Encoder.murphy2009-06-071-1/+1
| | | | | Thanks to Gavin for pointing that out.
* Added a :title option for the HTML Encoder. Closes #55.murphy2009-04-141-1/+8
|
* New feature: HTML encode option :highlight_lines. See documentation.murphy2009-01-221-0/+11
| | | | | | * The scanner test suite uses it and highlights the lines that differ after a failed complete test in *.actual.html.
* Fixes for Ruby 1.9.murphy2008-12-251-45/+46
|