650 Commits

Author SHA1 Message Date
L. D. MacKrell
d7129bb8e8 Force newlines between nested rules in SCSS 2018-08-15 10:30:42 -07:00
Liam Newman
985a2b4c1f Centralize indent string creation 2018-08-14 15:01:50 -07:00
Liam Newman
8fbbe7c012 Continuing churn of html beautifier 2018-08-14 14:14:12 -07:00
Liam Newman
56de0e61cf HTML Output cleanup 2018-08-14 12:25:54 -07:00
Liam Newman
c1b9ae6917 Remove innner loop of attribute processing 2018-08-13 22:22:09 -07:00
Liam Newman
af6a557137 Make most html tests not fragments 2018-08-13 18:08:52 -07:00
L. D. MacKrell
a59c88762f Adds test to preserve newlines 2018-08-13 15:54:53 -07:00
L. D. MacKrell
7d2e0baaf0 Support @import in CSS 2018-08-13 14:54:06 -07:00
L. D. MacKrell
1ade0cfdf0 Preserve newline in block css property values 2018-08-13 13:26:54 -07:00
Liam Newman
9b3577c45d Handle attributes with spaces
Fixes #1094
2018-08-13 10:33:19 -07:00
Liam Newman
7f5a6920f9 Add more tests 2018-08-12 22:48:43 -07:00
Liam Newman
f37cb1c86e Add more tests 2018-08-12 22:45:17 -07:00
Liam Newman
6a043f007c Hotfixes for issues in rc5
Fixes #1481
Fixes #1482
Fixes #1483
2018-08-12 22:36:37 -07:00
Liam Newman
c4f03cce7e Add test for html ignore directive
Closes #545
Closes #994
2018-08-11 21:58:00 -07:00
Liam Newman
6e8afc8406 Add alignment to output 2018-08-11 21:58:00 -07:00
Liam Newman
6b4ab06034 Html beautifier uses only one output stream 2018-08-11 21:58:00 -07:00
Liam Newman
89e91a8242 Add more navgation to token 2018-08-11 21:58:00 -07:00
Liam Newman
9a53aba300 Handlebars unless and else if
Fixed #800
Fixes #1123
2018-08-11 18:38:47 -07:00
Liam Newman
59b416666f Remove extra code 2018-08-11 18:08:48 -07:00
Liam Newman
cc76cc6e82 Fixes for line wrap in Html
Closes #607
Closes #1304
Closes #1383
Fixes #1401
2018-08-11 17:59:19 -07:00
Liam Newman
ab4d2f02e4 Improve test output for failures 2018-08-11 15:53:03 -07:00
Liam Newman
77d1460e5f Improved reporting 2018-08-11 15:32:58 -07:00
Liam Newman
b760fc828f Add tokenizer to html beautifier 2018-08-10 22:56:35 -07:00
L. D. MacKrell
7eb4e3b29b Test for spacing around attribute value selector 2018-08-09 17:16:09 -07:00
Liam Newman
33e8195e79 Code format changes 2018-08-07 02:01:47 -07:00
Liam Newman
d2b4e272c4 Use read for recent change 2018-08-06 15:29:47 -07:00
Liam Newman
acd0086be3 Move javascript core classes to prototype
Results in 50% performance improvment.
2018-08-06 15:25:32 -07:00
Liam Newman
4e971ee215 Use javascript inheritance for tokenizer 2018-08-06 15:25:32 -07:00
Liam Newman
6298ddbfc0 Remove duplicate readUntilAfter code 2018-08-06 15:25:32 -07:00
Liam Newman
dc00c56e60 Use regexp for reserved words 2018-08-06 15:25:32 -07:00
Liam Newman
00e5407b85 Reorganize tokenizer 2018-08-06 15:25:32 -07:00
Liam Newman
28e86b9af8 TokenStream in Python 2018-08-06 15:25:32 -07:00
Liam Newman
a69766418a Core.Tokenizer in Python 2018-08-06 15:25:32 -07:00
Liam Newman
acbf7d609d Remove extra fields from Token 2018-08-06 15:25:32 -07:00
Liam Newman
9218d39c65 Change readWhile to read 2018-08-06 15:25:32 -07:00
Liam Newman
c3f7fe75ea Directives in python 2018-08-06 15:25:32 -07:00
Liam Newman
a235009c97 TokenStream 2018-08-06 15:25:32 -07:00
Liam Newman
dbbaa509ea TokenFactory 2018-08-06 15:25:32 -07:00
Liam Newman
bbb86b44f0 Add related classes 2018-08-06 15:25:32 -07:00
Liam Newman
2e9a299851 Inherit tokenizer from core 2018-08-06 15:25:32 -07:00
Liam Newman
b64d9dd6cd Tweak test description 2018-08-06 14:44:28 -07:00
Liam Newman
c2d1b16c1a
Merge branch 'master' into closing_tags 2018-08-06 14:06:38 -07:00
L. D. MacKrell
d751e0c46e Update closing tags to handle no space 2018-08-06 13:50:34 -07:00
Liam Newman
0494243223
Merge branch 'master' into tagtest 2018-08-06 13:10:16 -07:00
L. D. MacKrell
b50ded1227 Add test for p tag formatting issue resolved in prior version 2018-08-06 11:07:40 -07:00
Liam Newman
ca327927c1 Add polyfill to web page to support older browsers 2018-08-03 20:14:33 -07:00
L. D. MacKrell
064e7f3121 Add test for else if in handlebars 2018-08-02 23:39:56 -07:00
L. D. MacKrell
57c81047af Add test for Handlebars indenting issue 2018-08-02 23:02:27 -07:00
L. D. MacKrell
18225c5de2 Ensure space between adjacent words in js 2018-08-01 15:39:44 -07:00
Liam Newman
1e5ff53df5 Additional minor tweaks 2018-08-01 12:43:47 -07:00