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

185
Views
how to format type string as code in html

I have this code which is returned as a part of an object, and is stored as type string. this is the way it is stored:

def helloWorld():    print("hello World")helloWorld()

as you can see, it is all in one string on one line.

In html, i am accessing this like so:

<textarea type="text" class="form-control" name="output" id="exampleInputPassword1" style="height: 300px;" readonly><%= recordData.output %></textarea>

now, I want to be able to format <%= recordData.output %> as code so that it isn't in one line. is this possible either through html or js?

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!