Closed sharadcodes closed 4 years ago
With https://github.com/progsource/maddy/pull/27 this should be fixed.
Please try out version 1.1.1 with config like:
auto config = std::make_shared<maddy::ParserConfig>();
config->isHTMLWrappedInParagraph = false;
auto parser = std::make_shared<maddy::Parser>(config);
const auto htmlOutput = parser->Parse(markdown);
and check if this solves your problem.
@progsource Thanks for the update will use it and see if it works.
It worked perfectly.
Minimal Code Example
I want to prevent those anchor tags from being surrounded with p tags
Conditions
Description
How to prevent a specific portion of code from being rendered ?