mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Disable the emphasized parser in markdown_to_html, so links with underscores work properly.
This commit is contained in:
parent
e149574149
commit
d2751d83e2
@ -13,7 +13,7 @@ void Utils::newline_to_br(std::string *str) {
|
||||
|
||||
void Utils::markdown_to_html(std::string *str) {
|
||||
std::shared_ptr<maddy::ParserConfig> config = std::make_shared<maddy::ParserConfig>();
|
||||
config->isEmphasizedParserEnabled = true;
|
||||
config->isEmphasizedParserEnabled = false;
|
||||
config->isHTMLWrappedInParagraph = true;
|
||||
|
||||
std::shared_ptr<maddy::Parser> parser = std::make_shared<maddy::Parser>(config);
|
||||
|
Loading…
Reference in New Issue
Block a user