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

215
Visualizações
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 à 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