This is a test document with various formatting elements to test our SIMD optimization.
Here are some characters that need escaping: <script>alert('XSS')</script>
The following special characters should be handled: & < > " '
Visit our website for more information.
function escapeHtml(text) {
return text
.replace(/&/g, "&")
.replace(/</g, "<")
.replace(/>/g, ">")
.replace(/"/g, """);
}This document contains many different formatting elements to test performance:
- Lists with bold items
- Code blocks with
special characters - Links with complex URLs
Blockquotes with > special characters & symbols
| Name | Description | Special Chars |
|---|---|---|
| Test | Description with | & symbols |
| More | Another row with "quotes" | <>&" |
The goal is to have enough content with special characters that need escaping to properly test our SIMD implementation.