範例
alias to spec code point (Ω)
輸入
ΩExpected answer
ΩΩ
decimal numeric entity
輸入
AExpected answer
AA
hex numeric entity
輸入
AExpected answer
AA
invalid entity passed through
輸入
a ¬real; bExpected rejection
Message containsa ¬real; bnamed
輸入
<a href='#'>"&"</a>Expected answer
<a href='#'>"&"</a><a href='#'>"&"</a>