Added workaround for strong and emphatic texts.

This commit is contained in:
gottox@rootkit.lan 2008-01-26 12:45:49 +01:00
parent f20e7b5516
commit fa0d368d7e

4
smu.c
View file

@ -74,10 +74,12 @@ struct Tag underline[] = {
struct Tag surround[] = { struct Tag surround[] = {
{ "``", 0, "<code>", "</code>" }, { "``", 0, "<code>", "</code>" },
{ "`", 0, "<code>", "</code>" }, { "`", 0, "<code>", "</code>" },
{ "___", 1, "<strong><em>", "</em></strong>" },
{ "***", 1, "<strong><em>", "</em></strong>" },
{ "__", 1, "<strong>", "</strong>" }, { "__", 1, "<strong>", "</strong>" },
{ "**", 1, "<strong>", "</strong>" }, { "**", 1, "<strong>", "</strong>" },
{ "*", 1, "<em>", "</em>" },
{ "_", 1, "<em>", "</em>" }, { "_", 1, "<em>", "</em>" },
{ "*", 1, "<em>", "</em>" },
}; };
char * replace[][2] = { char * replace[][2] = {
{ "\\\\", "\\" }, { "\\\\", "\\" },