fixed inline code for bold, em and s

In inline code the markdown for bold , emphasized
and strike trhough  is not parsed anymore.

Additionally the linker might be now faster on Linux.
Este commit está contenido en:
M. Petra Baranski
2017-12-25 21:21:59 +01:00
padre 82b320d967
commit 91b687d5e7
Se han modificado 7 ficheros con 52 adiciones y 4 borrados

Ver fichero

@ -31,3 +31,14 @@ TEST(MADDY_STRONGPARSER, ItReplacesEmphasizedMarkdownNotWithStrongHTML)
ASSERT_EQ(expected, text);
}
TEST(MADDY_STRONGPARSER, ItDoesNotParseInsideInlineCode)
{
std::string text = "some text *bla* text testing `**it**` out";
std::string expected = "some text *bla* text testing `**it**` out";
auto strongParser = std::make_shared<maddy::StrongParser>();
strongParser->Parse(text);
ASSERT_EQ(expected, text);
}