Commit Graph

4 Commits

Author SHA1 Message Date
Maiko Sinkyaet Tan
8540f32c4b
fix(api): <br> and <p> linebreak not correctly rendered (#10)
* fix: `<br>` and `<p>` linebreak not correctly rendered

* refa: remove reduce function

* refa: use placeholder for linebreak implementation

* fix: should handle continuation of p element

* fix: dangling paragraph start mark not correctly handled

* fix: align with browser behaviour for `<p>` and `<br>`

* fix: remove redundant process
2024-10-05 11:06:39 +08:00
Il Harper
cb8d727e7a
test(api): add tests for br p a elements 2024-04-06 03:42:26 +08:00
Il Harper
cc1db1613a
test: refactor tests 2024-04-06 03:36:06 +08:00
Il Harper
2fa2342465
test(api): init tests 2024-03-13 22:50:07 +08:00