Skip to content

ruby percentage notation fails to parse #1096

Description

@maland

in an haml attribute like title, this works:

%p{ title: %{foo(#{some_local_variable})} }

and this as well:

%p{ title: "foo(#{some_local_variable})" }

but this does not:

%p{ title: %(foo(#{some_local_variable})) }

this raises:

(eval):1: unterminated string meets end of file
%(foo(#)
^

imho all examples are right syntax

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions