Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

229
Visualizações
ASP.Net MVC Replacing 
 With Line Breaks in the View

So essentially in my Index View when I look at the page source I see &#xD;&#xA; where I should see line breaks that I entered into the textareas in the Create View. Ideally I need a way to replace those &#xD;&#xA with <br> but I'm not totally sure how to go about doing that. I assume there is some way to go about it maybe with javascript/jquery.

I have the page source and some code snippets.

This is the page source This is the page source

This is the code in the Index View.

<div class="row border-bottom border-white pb-3 pt-3">
        <div class="col">
            <b>Non-Spell Abilities:</b> @Html.DisplayFor(modelItem => item.NonSpellAbilities)
        </div>
</div>

This is what is actually displayed on the page This is what this code snippet looks like when actual displayed in a browser

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda