简体   繁体   中英

Commenting erb files in Atom doesn't work well

Toggle comments in .html.erb files becomes from:

<%= link_to 'Back', bins_path %>

To

<%# <%= link_to 'Back', bins_path %> %>

a final extra %> .

I haven't found a way to fix it.

Thanks in advance

I just replace the = with # like

<%# link_to 'Back', bins_path %>

But that is done manually (not Ctrl+/ )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM