178 } |
178 } |
179 if (closespan) { |
179 if (closespan) { |
180 memcpy(&(dest[dp]), "</span>", 7); |
180 memcpy(&(dest[dp]), "</span>", 7); |
181 dp += 7; |
181 dp += 7; |
182 } |
182 } |
183 } |
183 memset(word, 0, WORDBUF_SIZE); |
184 memset(word, 0, WORDBUF_SIZE); |
184 wp = 0; |
185 wp = 0; |
185 } |
186 dp = writeescapedchar(dest, dp, c); |
186 dp = writeescapedchar(dest, dp, c); |
187 } else { |
187 } else { |
188 /* read word */ |
188 /* read word */ |
189 if (wp < WORDBUF_SIZE) { |
189 if (wp < WORDBUF_SIZE) { |
190 word[wp++] = c; |
190 word[wp++] = c; |