Skip to content

ERB interpolation within <style> tag doesn't work #90

Description

@marcoroth

ERB Input:

<style type="text/css">
<%= Rouge::Themes::Monokai.render(scope: 'pre') %>
</style>

Output:

style(type: "text/css") do
  "<erb loud> Rouge::Themes::Monokai.render(scope: 'pre') </erb>"
end

Expected output:

style(type: "text/css") do
  Rouge::Themes::Monokai.render(scope: 'pre')
end

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions