All threads / VS Code Rails Dev Environment issue - html.erb files allow missing closing tags

Ask A Question

Notifications

You’re not receiving notifications from this thread.

VS Code Rails Dev Environment issue - html.erb files allow missing closing tags

jmtucker7 asked in General

Hello. I am a JS developer doing a crash course on Ruby/Rails for a job interview. They're slowly moving from a Rails backend to Node, so I need to be able to understand and work with the legacy code. It seems that the dev environment I've been able to put together allows broken html in the html.erb files. I use VS Code, and I added extensions. But unlike my plain html support and what I have going with my JS dev environment, the html.erb support I have will still allow html that has missing closing tags. Can anyone tell me if you have this particular support in your dev environment and what you used to get there? Thanks!

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 54,645+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.