Skip to content

Commit b2c73dd

Browse files
hejsztynxCopilot
andauthored
more precise ms word checkbox symbol comment
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent a7202d4 commit b2c73dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/web/normalization/htmlNormalizer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ function emitAttributes(el: Element, name: string): string {
252252
case 'ul':
253253
return isCheckboxList(el) ? ' data-type="checkbox"' : '';
254254
case 'li':
255-
// "" is the UTF-8 hex encoding for U+F0FE (MS Word Checked Box)
255+
// "" is U+F0FE (MS Word checked box); often encoded as "\xEF\x83\xBE" in UTF-8.
256256
const isChecked =
257257
el.hasAttribute('checked') ||
258258
el.getAttribute('data-checked') === 'true' ||

0 commit comments

Comments
 (0)