diff --git a/docs/tests/procedural-cosmetic-filters.html b/docs/tests/procedural-cosmetic-filters.html
index a025d44da9738..e3728787a4b75 100644
--- a/docs/tests/procedural-cosmetic-filters.html
+++ b/docs/tests/procedural-cosmetic-filters.html
@@ -210,7 +210,7 @@
Tests
const fragment = document.createDocumentFragment();
for ( const node of document.querySelectorAll('code') ) {
const div = document.createElement('div');
- div.textContent = `${hostname}##${node.textContent}`;
+ div.textContent = `${hostname}#?#${node.textContent}`;
fragment.appendChild(div);
}
const parent = document.querySelector('.filters');