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

214
Vistas
Is there a way to encode the HTML tags from getContent() method of TinyMCE?

My team is using TinyMCE editor v5.8.2 in one of our projects written in AngularJS, and the content that we get from this editor using the getContent() method is then passed as request to a HTTP POST method API.

The problem is that when the web application firewall scans the request body of this API, it triggers the XSS rule and doesn't let the API through because of < and > characters from the paragraph and other html tags.

TinyMCE does encode these characters when they are added within the html tags, for example <p> 3 > 2 </p> gets encoded to <p> 3 &gt; 2 </p> , but is there a way to encode the paragraph tags too?

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