Skip to content

Commit

Permalink
Item2344: restore ascii highlighting
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/DpSyntaxHighlighterPlugin@5473 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
AndrewJones authored and AndrewJones committed Nov 9, 2009
1 parent e76c648 commit c105923
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/DpSyntaxHighlighterPlugin.pm
Expand Up @@ -20,7 +20,7 @@ use strict;
use vars qw( $VERSION $RELEASE $NO_PREFS_IN_TOPIC $SHORTDESCRIPTION $pluginName $rootDir $doneHead );

our $VERSION = '$Rev: 9813$';
our $RELEASE = '1.4';
our $RELEASE = '1.5';
our $pluginName = 'DpSyntaxHighlighterPlugin';
our $NO_PREFS_IN_TOPIC = 1;
our $SHORTDESCRIPTION = 'Client side syntax highlighting using the [[http://code.google.com/p/syntaxhighlighter/][dp.SyntaxHighlighter]]';
Expand Down Expand Up @@ -98,7 +98,7 @@ sub _handleTag {
/jfx|javafx/ and $brush = "JavaFX", last;
/php/ and $brush = "Php", last;
/^pl$|[Pp]erl/ and $brush = "Perl", last;
/plain|text/ and $brush = "Plain", last;
/plain|text|ascii/ and $brush = "Plain", last;
/ps|powershell/ and $brush = "PowerShell", last;
/py|python/ and $brush = "Python", last;
/ruby|ror|rails/ and $brush = "Ruby", last;
Expand Down
Expand Up @@ -32,4 +32,4 @@ SyntaxHighlighter.brushes.Plain = function()
};

SyntaxHighlighter.brushes.Plain.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Plain.aliases = ['text', 'plain'];
SyntaxHighlighter.brushes.Plain.aliases = ['text', 'plain', 'ascii'];

0 comments on commit c105923

Please sign in to comment.