31 |
31 |
32 #include <stdlib.h> |
32 #include <stdlib.h> |
33 #include <stdio.h> |
33 #include <stdio.h> |
34 #include <string.h> |
34 #include <string.h> |
35 #include <ctype.h> |
35 #include <ctype.h> |
36 #include "ucx/string.h" |
36 #include <ucx/string.h> |
37 #include "ucx/utils.h" |
37 #include <ucx/utils.h> |
38 |
38 |
39 static void put_htmlescaped(UcxBuffer *dest, char c) { |
39 static void put_htmlescaped(UcxBuffer *dest, char c) { |
40 if (c == '>') { |
40 if (c == '>') { |
41 ucx_buffer_puts(dest, ">"); |
41 ucx_buffer_puts(dest, ">"); |
42 } else if (c == '<') { |
42 } else if (c == '<') { |