Esempi
Annuncio con tag in linea
Input
<p>Deploy <strong>v2.4</strong> to <em>staging</em>.</p>Expected answer
Deploy v2.4 to staging.- Estrazione testo
Readable text
Conservare i paragrafi
Input
<p>Backup complete.</p><p>Deploy ready.</p>Expected answer
Backup complete.
Deploy ready.- Estrazione testo
Readable text
Decodificare le entità una volta
Input
<p>Fish & chips: €5. 🐟 <b> &lt;</p>Expected answer
Fish & chips: €5. 🐟 <b> <- Estrazione testo
Readable text
Escludere script e stili
Input
<style>p{color:red}</style><p>Before</p><script>demo()</script><p>After</p>Expected answer
Before
After- Estrazione testo
Readable text
Conservare l’indentazione
Input
<p>Example:</p><pre>if ready:
deploy()
notify()</pre>Expected answer
Example:
if ready:
deploy()
notify()- Estrazione testo
Readable text