Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Turn the spaces in shortcuts into tabs

This will probably break the unit test and is not adjustable by
options. Not recommended.
  • Loading branch information...
commit cb07efb0f87cb89b6ad329fbdc9bc962062bfda8 1 parent f594060
Dominic Morgan authored
Showing with 24 additions and 24 deletions.
  1. +12 −12 TextMate/Sparkup.tmbundle/Support/sparkup.py
  2. +12 −12 sparkup
24 TextMate/Sparkup.tmbundle/Support/sparkup.py
View
@@ -36,8 +36,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n' +
'<html lang="en">\n' +
'<head>\n' +
- ' ' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
@@ -49,8 +49,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\n' +
'<html lang="en">\n' +
'<head>\n' +
- ' ' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
@@ -62,8 +62,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n' +
'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\n' +
'<head>\n' +
- ' ' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
@@ -75,8 +75,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n' +
'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\n' +
'<head>\n' +
- ' ' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
@@ -88,8 +88,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n' +
'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\n' +
'<head>\n' +
- ' ' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
@@ -101,8 +101,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE html>\n' +
'<html lang="en">\n' +
'<head>\n' +
- ' ' + '<meta charset="UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta charset="UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
24 sparkup
View
@@ -36,8 +36,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n' +
'<html lang="en">\n' +
'<head>\n' +
- ' ' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
@@ -49,8 +49,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\n' +
'<html lang="en">\n' +
'<head>\n' +
- ' ' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
@@ -62,8 +62,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n' +
'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\n' +
'<head>\n' +
- ' ' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
@@ -75,8 +75,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n' +
'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\n' +
'<head>\n' +
- ' ' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
@@ -88,8 +88,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n' +
'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\n' +
'<head>\n' +
- ' ' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
@@ -101,8 +101,8 @@ class HtmlDialect(Dialect):
'<!DOCTYPE html>\n' +
'<html lang="en">\n' +
'<head>\n' +
- ' ' + '<meta charset="UTF-8" />\n' +
- ' ' + '<title></title>\n' +
+ '\t' + '<meta charset="UTF-8" />\n' +
+ '\t' + '<title></title>\n' +
'</head>\n' +
'<body>',
'closing_tag':
Please sign in to comment.
Something went wrong with that request. Please try again.