範例
行內發布公告
輸入
<p>Deploy <strong>v2.4</strong> to <em>staging</em>.</p>Expected answer
Deploy v2.4 to staging.- 文本 extraction
Readable text
保留段落邊界
輸入
<p>Backup complete.</p><p>Deploy ready.</p>Expected answer
Backup complete.
Deploy ready.- 文本 extraction
Readable text
實體只解碼一次
輸入
<p>Fish & chips: €5. 🐟 <b> &lt;</p>Expected answer
Fish & chips: €5. 🐟 <b> <- 文本 extraction
Readable text
排除腳本與樣式
輸入
<style>p{color:red}</style><p>Before</p><script>demo()</script><p>After</p>Expected answer
Before
After- 文本 extraction
Readable text
保留程式碼縮排
輸入
<p>Example:</p><pre>if ready:
deploy()
notify()</pre>Expected answer
Example:
if ready:
deploy()
notify()- 文本 extraction
Readable text