I suggest you ...

allow overriding of the text element behavior

I use a Razor partial view to generate some SVG content. <text> is a valid SVG element. trying to get Razor to actually spit out that element was ridiculously hard using escapes. Also, if I reformatted the document it would break those escapes because of the line breaks.

Please consider for example a directive that tells the parser not to handle <text> elements or perhaps simply detecting attributes on the element and turning off the behavior. i.e. if a <text> element has attributes, they must not want it to be a Razor multi-line content block.

Also, I have been hearing about the planned Tag Helpers feature. Please consider this in it's design.

3 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Burton shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base