diff --git a/src/static/js/contentcollector.ts b/src/static/js/contentcollector.ts index 5b9d7f362..a2140d6fd 100644 --- a/src/static/js/contentcollector.ts +++ b/src/static/js/contentcollector.ts @@ -504,9 +504,14 @@ const makeContentCollector = (collectStyles, abrowser, apool, className2Author) // See https://github.com/ether/etherpad-lite/issues/2412 for reasoning if (!abrowser.chrome) oldListTypeOrNull = (_enterList(state, undefined) || 'none'); } else if (tname === 'li') { + // If the
  • has no parent