0

このビューのエンコーディングに問題がある asp .net mvc4 アプリケーションがあります。

@model Planning.Models.Affaire
@{

    Layout = "~/Views/Shared/Template.cshtml";
}

@section logout {
    <a href='@Url.Action("Index", "Calendar")'><img src="~/Content/images/restart-1.png"/></a>
    <a href='@Url.Action("Logout", "Home")' style="margin-left: 91.3%"><img src="~/Content/images/images.jpg" style="width:37px; height:37px" /></a>
    }
<head>
    <style>
    input {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
    padding: 5px;
    width: 300px;
    }
        a {
            font-size:14px;
        }

        </style>
</head>
<br />
<br />
<h2 style="color:red ; margin-left: 40%">Ajouter une séquence</h2>
<br />
<br />

<form action="/Calendar/SaveSequence" method="post" style="margin-left: 33%; ">
           <div >
            <strong style="color:blue ">La description  de la séquence</strong>
            <input type="text" name="description" value="" style="margin-left:15.5%; width:50%" /> 
           </div>
            <br />

        <input type="text" name="id" value="@Model.Id_affaire" style="margin-left:15.5%; width:50%; visibility:hidden" />          <br />

        <p>
            <input type="submit" value="Enregistrer" />
        </p>

</form>
<div>
    @Html.ActionLink("Retour à la liste", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}

私はこの結果を得る:

結果

問題は手紙にありéます: に現れて<strong style="color:blue ">La description de la séquence</strong>に消え<h2 style="color:red ; margin-left: 40%">Ajouter une séquence</h2>ます.

なぜこれが起こるのですか?どうすれば修正できますか?

4

1 に答える 1