GRAPHICS: MACGUI: Fix headre rendering in Markdown

This commit is contained in:
Eugene Sandulenko 2023-09-24 17:39:12 +02:00
parent a5a96f5cfd
commit 6de2d6c8d2
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -64,7 +64,7 @@ void render_header(Common::SDDataBuffer *ob, const Common::SDDataBuffer *text, i
debug(1, "render_header(%s)", PR(text));
Common::String res = Common::String::format("\016+00%01x0" "%s" "\001\016-00f0\n", level, Common::String((const char *)text->data , text->size).c_str());
Common::String res = Common::String::format("\001\016+00%01x0" "%s" "\001\016-00f0\n", level, Common::String((const char *)text->data , text->size).c_str());
sd_bufput(ob, res.c_str(), res.size());
}