1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
Commit graph

34 commits

Author SHA1 Message Date
Takashi Kokubun
f492e42195 Refactor Concerns::Balanceable 2015-03-30 15:19:48 +09:00
Takashi Kokubun
2998f95ea5 Make plain text parser better
This is very difficult for me to implement.
Original implementation is Haml::Util in https://github.com/haml/haml.

Thanks for MIT License.
2015-03-30 14:12:02 +09:00
Takashi Kokubun
28ef521ced Create runtime attribute builder 2015-03-30 12:36:07 +09:00
Takashi Kokubun
cf6410f3c9 Refactor attribute compilers 2015-03-30 10:14:37 +09:00
Takashi Kokubun
dffe0918a3 Handle all invalid indentations 2015-03-30 01:49:48 +09:00
Takashi Kokubun
1bf9ad8737 Handle invalid indentation 2015-03-30 01:39:57 +09:00
Takashi Kokubun
e167703ba3 Fix bad SyntaxError into CompileError 2015-03-30 01:13:28 +09:00
Takashi Kokubun
a7834ccc55 Consider parsing . or # 2015-03-30 01:09:34 +09:00
Takashi Kokubun
2e07d09f70 Deal with assertion properly 2015-03-30 01:00:59 +09:00
Takashi Kokubun
3e7a7a8060 Handle syntax error and show backtrace 2015-03-30 00:41:12 +09:00
Takashi Kokubun
83d0472ba6 I defeated all specs 🍻 2015-03-29 22:02:58 +09:00
Takashi Kokubun
7db8fea28b Carve out balanceable methods into attribute parser 2015-03-29 21:56:23 +09:00
Takashi Kokubun
2a61b86341 Rename Concerns::Multiline to Parsers::Multiline 2015-03-29 20:06:50 +09:00
Takashi Kokubun
715dff53a7 Parse multi-line new attribute 2015-03-29 10:22:45 +09:00
Takashi Kokubun
8b0f566ebb Allow filters to see options 2015-03-29 03:44:52 +09:00
Takashi Kokubun
321758e62c Refactor filters 2015-03-29 03:30:36 +09:00
Takashi Kokubun
29c29d578f Implement preserve filter 2015-03-29 02:49:28 +09:00
Takashi Kokubun
3ccf51dc40 Fix NotFound's namespace 2015-03-29 02:26:44 +09:00
Takashi Kokubun
cfd98d33e1 Implement plain filter 2015-03-29 01:53:15 +09:00
Takashi Kokubun
7a2e33f883 Create Hamlit::Concerns::Included
ref: b4c5158936
2015-03-29 01:14:20 +09:00
Takashi Kokubun
a5ae2d264b Refactor whitespace preservation 2015-03-29 00:18:58 +09:00
Takashi Kokubun
fe4974f77c Parse inner whitespace removal 2015-03-29 00:07:41 +09:00
Takashi Kokubun
0f1a3330b4 Force escape for &= operator 2015-03-28 21:33:16 +09:00
Takashi Kokubun
8177b53a8b Now there are only parser and compiler in engine 2015-03-28 20:15:41 +09:00
Takashi Kokubun
5d252f8ed0 Suppress all deprecation warnings 2015-03-27 21:12:09 +09:00
Takashi Kokubun
1ea4a47973 Implement doctype formatter a little 2015-03-25 01:51:42 +09:00
Takashi Kokubun
a12d814cc8 Normalize format 2015-03-23 01:25:29 +09:00
Takashi Kokubun
7ad8f1aad1 Create experimental NewAttributeCompiler 2015-03-22 23:33:13 +09:00
Takashi Kokubun
1cca6241d8 Implement javascript filter 2015-03-16 18:20:38 +09:00
Takashi Kokubun
c9bcc34fb3 Parse multiline 2015-03-16 08:11:07 +09:00
Takashi Kokubun
0cd2ee9f02 Fix a comment 2015-03-16 07:22:46 +09:00
Takashi Kokubun
93f1ec6f63 Ignore multi-line comment 2015-03-16 06:26:36 +09:00
Takashi Kokubun
4a6ed79358 Do not escape html by default
That's because haml-spec requires escaping when the options is
escape_html: true.
2015-03-16 03:02:31 +09:00
Takashi Kokubun
5bf515fd21 Refactor Hamlit::Parser 2015-03-16 02:42:02 +09:00