Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Source code is cut-off in article although it is fine in editor

Source code is cut-off in article although it is fine in editor

Scheduled Pinned Locked Moved Site Bugs / Suggestions
asp-netcsharpjavascripthtmlcom
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jovan Popovic MSFT
    wrote on last edited by
    #1

    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

    S C 2 Replies Last reply
    0
    • J Jovan Popovic MSFT

      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

      S Offline
      S Offline
      Sean Ewington
      wrote on last edited by
      #2

      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

      J 1 Reply Last reply
      0
      • S Sean Ewington

        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

        J Offline
        J Offline
        Jovan Popovic MSFT
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • J Jovan Popovic MSFT

          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

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups