/[LeafOK_CVS]/lbbs/src/lml.c
ViewVC logotype

Diff of /lbbs/src/lml.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 by sysadm, Tue Jun 3 03:41:19 2025 UTC Revision 1.7 by sysadm, Sat Jun 14 02:59:34 2025 UTC
# Line 75  static int lml_tag_quote_level = 0; Line 75  static int lml_tag_quote_level = 0;
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)
# Line 104  const static char *LML_tag_def[][3] = { Line 103  const static char *LML_tag_def[][3] = {
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},


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1