66 lineno++; |
66 lineno++; |
67 ucx_buffer_clear(line); |
67 ucx_buffer_clear(line); |
68 |
68 |
69 /* write line number */ |
69 /* write line number */ |
70 if (showlineno) { |
70 if (showlineno) { |
71 ucx_bprintf(line, "<span class=\"c2html-lineno\">" |
71 ucx_bprintf(line, "<a class=\"c2html-lineno\" name=\"l%d\" " |
72 "<a name=\"l%d\" href=\"#l%d\">%*d </a></span> ", |
72 "href=\"#l%d\">%*d </a>", |
73 lineno, lineno, lnw, lineno); |
73 lineno, lineno, lnw, lineno); |
74 } |
74 } |
75 |
75 |
76 /* process code line */ |
76 /* process code line */ |
77 highlighter(sourceline->data, line, hd); |
77 highlighter(sourceline->data, line, hd); |