Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

187
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda