Commit graph

7 commits

Author SHA1 Message Date
Philip Molares
6d0d7c31ff test: add additional tests for convertInlineStyleToMap
This test if the code leaved custom css properties be.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2024-11-01 15:53:15 +01:00
jiaSheng
82e7f439c8 fix: ellide inline css custom properties
* ellide css custom properties when converting css inline styles to map

  Signed-off-by: Lim Jia Sheng <50891910+sxxov@users.noreply.github.com>
2024-11-01 15:38:04 +01:00
Philip Molares
a55eac74fc test: add tests for convertInlineStyleToMap
With the new code added, it seemed like good opportunity to add some
 tests here.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2024-11-01 15:33:32 +01:00
jason lim
620b7d9fa8 fix: use more complex parsing for css statement splitting
Signed-off-by: Lim Jia Sheng <50891910+sxxov@users.noreply.github.com>
2024-11-01 15:26:33 +01:00
Philip Molares
20f0a497ce refactor: use reduce generic type instead of type cast
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-11-30 21:03:21 +01:00
Tilman Vatteroth
c775db9a2e fix: code style
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-27 15:25:39 +02:00
Tilman Vatteroth
84527f065c feat: import html-to-react from https://github.com/hedgedoc/html-to-react
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-08-26 15:07:49 +02:00