Skip to content

Support double quoted heredocs #3

@netzpirat

Description

@netzpirat

The single quoted heredoc is parsed fine, but there is a second notation with double quoted heredocs that allows interpolation within the heredoc.

Example

$("""
  <div id='#{ @getID() }' class='tree'>
    <ul class='#{ if @sortable then 'sortable' else '' }'></ul>
  </div>
  """)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions