Rev 9033 | Rev 9042 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9033 | Rev 9037 | ||
---|---|---|---|
Line 122... | Line 122... | ||
122 | html_mode=getvar("wims_html_mode"); |
122 | html_mode=getvar("wims_html_mode"); |
123 | if(html_mode==NULL || *html_mode==0 || isspace(*html_mode)) { |
123 | if(html_mode==NULL || *html_mode==0 || isspace(*html_mode)) { |
124 | html_mode="span"; |
124 | html_mode="span"; |
125 | } |
125 | } |
126 | snprintf(pfrb, sizeof(pfrb), "<%s class=\"%s\">", html_mode, s); |
126 | snprintf(pfrb, sizeof(pfrb), "<%s class=\"%s\">", html_mode, s); |
- | 127 | char pfre[256]; |
|
127 | snprintf(pfre, sizeof(pfre), "</%s>", html_mode); |
128 | snprintf(pfre, sizeof(pfre), "</%s>", html_mode); |
128 | } |
129 | } |
129 | else { pfrb[0]=0; pfre=""; } |
130 | else { pfrb[0]=0; pfre=""; } |
130 | 131 | ||
131 | switch(kind) { |
132 | switch(kind) { |