| 75 |
|
|
| 76 |
static int lml_tag_quote_filter(const char *tag_name, const char *tag_param_buf, char *tag_output_buf, size_t tag_output_buf_len) |
static int lml_tag_quote_filter(const char *tag_name, const char *tag_param_buf, char *tag_output_buf, size_t tag_output_buf_len) |
| 77 |
{ |
{ |
|
|
|
| 78 |
if (strcasecmp(tag_name, "quote") == 0) |
if (strcasecmp(tag_name, "quote") == 0) |
| 79 |
{ |
{ |
| 80 |
if (lml_tag_quote_level <= LML_TAG_QUOTE_MAX_LEVEL) |
if (lml_tag_quote_level <= LML_TAG_QUOTE_MAX_LEVEL) |
| 103 |
{"/bold", "\033[22m", NULL}, |
{"/bold", "\033[22m", NULL}, |
| 104 |
{"b", "\033[1m", ""}, |
{"b", "\033[1m", ""}, |
| 105 |
{"/b", "\033[22m", NULL}, |
{"/b", "\033[22m", NULL}, |
| 106 |
{"italic", "\033[5m", ""}, // use blink instead |
{"italic", "\033[5m", ""}, // use blink instead |
| 107 |
{"/italic", "\033[m", NULL}, // \033[25m does not work in Fterm |
{"/italic", "\033[m", NULL}, // \033[25m does not work in Fterm |
| 108 |
{"i", "\033[5m", ""}, |
{"i", "\033[5m", ""}, |
| 109 |
{"/i", "\033[m", NULL}, |
{"/i", "\033[m", NULL}, |