Skip to content

Commit 088a16c

Browse files
committed
Fixed a glitch with CSS colour boxes.
1 parent 979cad1 commit 088a16c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jQuery.Syntax is a light-weight client-side syntax highlighter, which dynamicall
55
To use jQuery.Syntax with minimal work, simply review the examples and use the files in the public sub-directory.
66

77
For more advanced usage and customisation, you will need to install the following dependencies to use jQuery.Syntax:
8-
$ sudo gem install rake haml
8+
$ sudo gem install rake sass
99

1010
To install jQuery.Syntax into the standard 'public' directory
1111
$ rake install

source/jquery.syntax.brush.css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Syntax.register('css', function(brush) {
4040
var sampleColour = document.createElement('span');
4141
sampleColour.className = 'sample';
4242
sampleColour.style.backgroundColor = text;
43-
sampleColour.appendChild(document.createTextNode('  '))
43+
sampleColour.appendChild(document.createTextNode(' '))
4444
colourBox.appendChild(sampleColour);
4545

4646
element.appendChild(colourBox);

0 commit comments

Comments
 (0)