brentd / xray-rails

☠️ A development tool that reveals your UI's bones
MIT License
1.22k stars 79 forks source link

JSON rendered with HAML templates shouldn't be prepended with HTML comments #20

Closed alenia closed 11 years ago

alenia commented 11 years ago

Prevent json templates created with haml from being augmented as an html file. Also prevent js templates created with haml from being augmented since https://github.com/brentd/xray-rails/pull/9 had that issue.

brentd commented 11 years ago

Nice. That issue finally makes sense :)

Merging.

brentd commented 11 years ago

Thanks @alenia!