qbreader / website

A text-based quizbowl packet reader with support for both single- and multi-player.
https://www.qbreader.org
MIT License
39 stars 20 forks source link

Database highlighting sometimes doesn't match the full result #280

Open geoffrey-wu opened 6 months ago

geoffrey-wu commented 6 months ago

When the bolded/underlined part of a match is at the beginning of the match, the qbreader client doesn't always render it correctly. For example, we would expect both "Suez" and "canal" to be highlighted in the below query, but only "Suez" is highlighted. This is because the highlight query functions produce invalid html with interleaved tags.

image