أمثلة
إعلان بعلامات مضمنة
المدخلات
<p>Deploy <strong>v2.4</strong> to <em>staging</em>.</p>Expected answer
Deploy v2.4 to staging.- استخراج النص
Readable text
حفظ حدود الفقرات
المدخلات
<p>Backup complete.</p><p>Deploy ready.</p>Expected answer
Backup complete.
Deploy ready.- استخراج النص
Readable text
فك الكيانات مرة واحدة
المدخلات
<p>Fish & chips: €5. 🐟 <b> &lt;</p>Expected answer
Fish & chips: €5. 🐟 <b> <- استخراج النص
Readable text
استبعاد البرامج والأنماط
المدخلات
<style>p{color:red}</style><p>Before</p><script>demo()</script><p>After</p>Expected answer
Before
After- استخراج النص
Readable text
حفظ مسافات الشفرة
المدخلات
<p>Example:</p><pre>if ready:
deploy()
notify()</pre>Expected answer
Example:
if ready:
deploy()
notify()- استخراج النص
Readable text