Added workaround for strong and emphatic texts. - smu - smu - simple markup (Markdown) processor (fork, fixes + features)
 (HTM) git clone git://git.codemadness.org/smu
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit fa0d368d7e5342c9427acf4677c8732721ed4550
 (DIR) parent f20e7b551689a365ce67be3394baf67e88cc77a7
 (HTM) Author: gottox@rootkit.lan <gottox@rootkit.lan>
       Date:   Sat, 26 Jan 2008 12:45:49 +0100
       
       Added workaround for strong and emphatic texts.
       
       Diffstat:
         M smu.c                               |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/smu.c b/smu.c
       @@ -74,10 +74,12 @@ struct Tag underline[] = {
        struct Tag surround[] = {
                { "``",                0,        "<code>",        "</code>" },
                { "`",                0,        "<code>",        "</code>" },
       +        { "___",        1,        "<strong><em>",        "</em></strong>" },
       +        { "***",        1,        "<strong><em>",        "</em></strong>" },
                { "__",                1,        "<strong>",        "</strong>" },
                { "**",                1,        "<strong>",        "</strong>" },
       -        { "*",                1,        "<em>",                "</em>" },
                { "_",                1,        "<em>",                "</em>" },
       +        { "*",                1,        "<em>",                "</em>" },
        };
        char * replace[][2] = {
                { "\\\\",        "\\" },