Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

221
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!