Added workaround for strong and emphatic texts. - smu - smu - simple markup (Ma… | |
git clone git://git.codemadness.org/smu | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit fa0d368d7e5342c9427acf4677c8732721ed4550 | |
parent f20e7b551689a365ce67be3394baf67e88cc77a7 | |
Author: [email protected] <[email protected]> | |
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(-) | |
--- | |
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] = { | |
{ "\\\\", "\\" }, |