102 put_htmlescaped(dest, c); |
102 put_htmlescaped(dest, c); |
103 } |
103 } |
104 } else { |
104 } else { |
105 if (isstring) { |
105 if (isstring) { |
106 put_htmlescaped(dest, c); |
106 put_htmlescaped(dest, c); |
107 } else if (!check_alnumex(c)) { |
107 } else if (!isalnum(c) && c!='_' && c!='#' && c!='@') { |
108 if (word.length > 0 && word.length < WORDBUF_SIZE) { |
108 if (word.length > 0 && word.length < WORDBUF_SIZE) { |
109 int closespan = 1; |
109 int closespan = 1; |
110 if (check_keyword(word, jkeywords)) { |
110 if (check_keyword(word, jkeywords)) { |
111 ucx_buffer_puts(dest, |
111 ucx_buffer_puts(dest, |
112 "<span class=\"c2html-keyword\">"); |
112 "<span class=\"c2html-keyword\">"); |