Allowing hexadecimal entities too

Signed-off-by: RK <robert@woodst.com>