fix markdown not adding newlines after list items

This commit is contained in:
HJfod 2022-12-17 17:03:11 +02:00
parent f3fa425674
commit 6a8fec3a9f
2 changed files with 3 additions and 10 deletions
loader
resources
src/ui/nodes

View file

@ -17,29 +17,19 @@ See [Documentation](https://geode-sdk.github.io/docs) for info about developing
Developed by
* [PoweredByPie](https://github.com/poweredbypie/)
* [Mat](https://github.com/matcool/)
* [HJfod](user:104257)
* [Camila314](https://github.com/camila314/)
* [Alk1m123](https://github.com/altalk23/)
* [FireCubez](https://github.com/FireCubez)
* [fig](https://github.com/FigmentBoy)
Using
* [Cocos2d-x](https://github.com/cocos2d/cocos2d-x/tree/cocos2d-x-2.2.3)
* [FMOD](https://www.fmod.com/)
* [fmt](https://fmt.dev/latest/index.html)
* [PEGTL](https://github.com/taocpp/PEGTL)
* [md4c](https://github.com/mity/md4c)
Special thanks to [RobTop Games](https://twitter.com/RobTopGames/) for making this amazing game and providing us and so many others with hours of entertainment <3

View file

@ -1,4 +1,5 @@
#include <Geode/binding/ProfilePage.hpp>
#include <Geode/binding/CCContentLayer.hpp>
#include <Geode/loader/Mod.hpp>
#include <Geode/ui/MDTextArea.hpp>
#include <Geode/utils/casts.hpp>
@ -446,6 +447,7 @@ struct MDParser {
case MD_BLOCKTYPE::MD_BLOCK_UL:
{
renderer->popIndent();
renderer->breakLine();
}
break;
@ -488,6 +490,7 @@ struct MDParser {
case MD_BLOCKTYPE::MD_BLOCK_LI:
{
renderer->breakLine();
}
break;