Exemples
Annonce avec balises en ligne
Entrée
<p>Deploy <strong>v2.4</strong> to <em>staging</em>.</p>Expected answer
Deploy v2.4 to staging.- Extraction de texte
Readable text
Préserver les paragraphes
Entrée
<p>Backup complete.</p><p>Deploy ready.</p>Expected answer
Backup complete.
Deploy ready.- Extraction de texte
Readable text
Décoder les entités une fois
Entrée
<p>Fish & chips: €5. 🐟 <b> &lt;</p>Expected answer
Fish & chips: €5. 🐟 <b> <- Extraction de texte
Readable text
Exclure scripts et styles
Entrée
<style>p{color:red}</style><p>Before</p><script>demo()</script><p>After</p>Expected answer
Before
After- Extraction de texte
Readable text
Préserver l’indentation
Entrée
<p>Example:</p><pre>if ready:
deploy()
notify()</pre>Expected answer
Example:
if ready:
deploy()
notify()- Extraction de texte
Readable text