lib/cutaneous.rb in cutaneous-0.1.3 vs lib/cutaneous.rb in cutaneous-0.1.4
- old
+ new
@@ -5,11 +5,11 @@
require 'cutaneous/syntax'
require 'cutaneous/lexer'
require 'cutaneous/compiler'
module Cutaneous
- VERSION = "0.1.3"
+ VERSION = "0.1.4"
class CompilationError < Exception; end
class UnknownTemplateError < Exception
def initialize(template_roots, relative_path)
@@ -28,10 +28,10 @@
:statement => %w(%{ })
})
SecondPassSyntax = Cutaneous::Syntax.new({
:comment => %w(!{ }),
- :expression => %w({{ }}),
- :escaped_expression => %w({$ $}),
+ :expression => %w({{{ }}}),
+ :escaped_expression => %w({{ }}),
:statement => %w({% %})
})
end