Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of explicitly closed br/ causes exception in production environment #624

Closed
porbas opened this issue Jun 2, 2015 · 3 comments
Closed

Comments

@porbas
Copy link

porbas commented Jun 2, 2015

One of my slim templates has explicitly closed br tag. It's not necessary according to documentation but does no harm in development. In Rails production environment it breaks :(

ActionView::Template::Error (wrong number of arguments (2 for 3)):
  slim (3.0.3) lib/slim/include.rb:12:in `on_html_tag'
  (eval):7:in `dispatcher'
  temple (0.7.5) lib/temple/mixins/dispatcher.rb:49:in `compile'
  temple (0.7.5) lib/temple/mixins/dispatcher.rb:7:in `block in on_multi'
  temple (0.7.5) lib/temple/mixins/dispatcher.rb:7:in `each'
  temple (0.7.5) lib/temple/mixins/dispatcher.rb:7:in `on_multi'
  (eval):45:in `dispatcher'
[...]
minad added a commit that referenced this issue Jun 2, 2015
@minad minad closed this as completed in 5f8696e Jun 2, 2015
@minad
Copy link
Member

minad commented Jun 2, 2015

I made a bugfix release v3.0.4

@porbas
Copy link
Author

porbas commented Jun 2, 2015

I'm impressed with your speed. :) Thanks!

@minad
Copy link
Member

minad commented Jun 2, 2015

well this was an easy one, but thx 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants