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

c# comment "//" on razor view cannot be ignored #53

Open
johnsonckcow opened this issue Apr 14, 2020 · 0 comments
Open

c# comment "//" on razor view cannot be ignored #53

johnsonckcow opened this issue Apr 14, 2020 · 0 comments

Comments

@johnsonckcow
Copy link

johnsonckcow commented Apr 14, 2020

for example, when there are c# comment "//" in .cshtml file, the output will become 1 line and all will be commented
@{
//ViewBag.Title = "Form Detail";
ViewBag.Title = @Resources.Global.FORM_DETAIL + "(" + @Resources.Global.SNAPSHOT +")";
}

->
@{ //ViewBag.Title = "Form Detail"; ViewBag.Title = @Resources.Global.FORM_DETAIL + "(" + @Resources.Global.SNAPSHOT +")"; }

@johnsonckcow johnsonckcow changed the title c# comment on razor view cannot be ignored c# comment "//" on razor view cannot be ignored Apr 14, 2020
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

1 participant