67 dp += 29; |
67 dp += 29; |
68 } |
68 } |
69 |
69 |
70 for (char c = src[sp] ; c ; c=src[++sp]) { |
70 for (char c = src[sp] ; c ; c=src[++sp]) { |
71 /* comments */ |
71 /* comments */ |
72 if (c == '/') { |
72 if (!isstring && c == '/') { |
73 if (hltr->iscommentml && sp > 0 && src[sp-1] == '*') { |
73 if (hltr->iscommentml && sp > 0 && src[sp-1] == '*') { |
74 iscomment = 0; |
74 iscomment = 0; |
75 hltr->iscommentml = 0; |
75 hltr->iscommentml = 0; |
76 memcpy(&(dest[dp]), "/</span>", 8); |
76 memcpy(&(dest[dp]), "/</span>", 8); |
77 dp += 8; |
77 dp += 8; |