C# 在解析图像之前到达文件结尾

C# 在解析图像之前到达文件结尾,c#,asp.net,html,asp.net-mvc-3,C#,Asp.net,Html,Asp.net Mvc 3,谁能告诉我为什么… 正在用初始值标记错误 '<' End of file was reached before the 'img' tag could be parsed. Elements inside markup blocks must be complete. They must either be self-closing("<br />") or have matching end tags ("<p>Hello</p>

谁能告诉我为什么…

正在用初始值标记错误

'<'

    End of file was reached before the 'img' tag could be parsed. Elements inside markup blocks must be complete. 
    They must either be self-closing("<br />") or have matching end tags ("<p>Hello</p>". 
    If you intended to display a "<" character, use the "&lt;" HTML entity.

”问题在于运行时无法处理冲突的引号。对于src,它看到的是
“@Url.Action(“

将此更改为类似以下内容:

<img src='@Url.Action("Index", "ReturnImage", @Model.GUID)' alt="Doorstep signature" style="width:290px;height:290px;"/>