mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 03:57:06 -04:00
![]() * Fixed bug that two p-tags were encapsulated inside each other This bug was introduced because the wider-possible-replacer replaced each element that was subject to be enlarged with a brand new p-surrounding. That surrounding got the key of the old (now inner) element and therefore casts an duplicate key exception. This fix solves that problem by setting the 'wider-possible' class attribute directly on the selected tag instead of creating a surrounding. * Removed unnecessary console log * Optimized attribute assignment to not fail on elements without attribs * Added comment describing the node.attribs assignment |
||
---|---|---|
.. | ||
api | ||
components | ||
external-types | ||
global-style | ||
redux | ||
utils | ||
index.tsx | ||
react-app-env.d.ts | ||
service-worker.ts | ||
setup-tests.ts | ||
version.json |