smu

Simple markup processor
git clone https://git.sinitax.com/codemadness/smu
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit fa0d368d7e5342c9427acf4677c8732721ed4550
parent f20e7b551689a365ce67be3394baf67e88cc77a7
Author: gottox@rootkit.lan <gottox@rootkit.lan>
Date:   Sat, 26 Jan 2008 12:45:49 +0100

Added workaround for strong and emphatic texts.

Diffstat:
Msmu.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] = { { "\\\\", "\\" },