Source code is cut-off in article although it is fine in editor
-
Hi, I have a problem with the following article ASP.NET MVC3 Razor With JQuery For Beginners[^]. In the edit section, the second code listing (above the picture is cut-off). If you open this link in the edit section you can see that this part of code ends with
@Html.ValidationMessageFor(model =>
there is a code after this statement but it is not generated here. When I go to the article and edit is this code is not cut-off. It seems to me that this > causes some problem where and ends the code on this position. I have tried to remove this => and replace it with just = . In that case code is continued to the next =>. This is very strange because I have other parts of code where I have used => but it is now cut-off there. If you need any additional info let me know. Thanks, Jovan
-
Hi, I have a problem with the following article ASP.NET MVC3 Razor With JQuery For Beginners[^]. In the edit section, the second code listing (above the picture is cut-off). If you open this link in the edit section you can see that this part of code ends with
@Html.ValidationMessageFor(model =>
there is a code after this statement but it is not generated here. When I go to the article and edit is this code is not cut-off. It seems to me that this > causes some problem where and ends the code on this position. I have tried to remove this => and replace it with just = . In that case code is continued to the next =>. This is very strange because I have other parts of code where I have used => but it is now cut-off there. If you need any additional info let me know. Thanks, Jovan
Hi Jovan, Did you already fix this on your own? It seems OK to me now. Please let me know if all is well. I suspect it was an angle bracket that was like this: > instead of this: > Inside pre blocks our article editor requires the latter.
Thanks, Sean Ewington The Code Project
-
Hi Jovan, Did you already fix this on your own? It seems OK to me now. Please let me know if all is well. I suspect it was an angle bracket that was like this: > instead of this: > Inside pre blocks our article editor requires the latter.
Thanks, Sean Ewington The Code Project
Hi Sean, No, problem is still happening on ASP.NET MVC3 Razor With JQuery For Beginners[^]. I have sent you separate email with screenshots. Thanks, Jovan
-
Hi, I have a problem with the following article ASP.NET MVC3 Razor With JQuery For Beginners[^]. In the edit section, the second code listing (above the picture is cut-off). If you open this link in the edit section you can see that this part of code ends with
@Html.ValidationMessageFor(model =>
there is a code after this statement but it is not generated here. When I go to the article and edit is this code is not cut-off. It seems to me that this > causes some problem where and ends the code on this position. I have tried to remove this => and replace it with just = . In that case code is continued to the next =>. This is very strange because I have other parts of code where I have used => but it is now cut-off there. If you need any additional info let me know. Thanks, Jovan
Our syntax colouriser is getting scared and confused by the lambda notation inside the HTML. I'll talk to it and calm it down.
cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP