mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-05-08 14:32:20 +00:00
e1cff6068c
PR #8093 used `child.children.length === 0` to distinguish a plain <option> from an <optgroup>. This test misfires when an <option> contains inline HTML. E.g. tc-tiddlylink anchors auto-generated for "$:/..." titles. So on refresh the option's `selected` state was never restored. - This change switches to a tagName check. - Adds a regression test plus a guard for the original PR #8092 optgroup behaviour.
title: $:/core/readme
This plugin contains TiddlyWiki's core components, comprising:
* JavaScript code modules
* Icons
* Templates needed to create TiddlyWiki's user interface
* British English (''en-GB'') translations of the localisable strings used by the core