bool comm_on = false;
int abc = 0;
for(i = 0; i < size; i++) {
- if(phase == 1 && data[i] != ' ' && data[i] != '>') {
+ if(phase == 1 && data[i] != '\n' && data[i] != '\t' && data[i] != ' ' && data[i] != '>') {
if(comm) {
if(incr == 0 && data[i] != '!') comm = false;
if(incr == 1 && data[i] != '-') comm = false;
char* tmp = text;
text = __W3_Concat(tmp, cbuf);
free(tmp);
- } else if(phase == 1 && (data[i] == ' ' || data[i] == '>')) {
- if(data[i] == ' ') {
+ } else if(phase == 1 && (data[i] == ' ' || data[i] == '\t' || data[i] == '\n' || data[i] == '>')) {
+ if(data[i] != '>') {
phase = 2;
free(attr);
attr = malloc(1);
extern "C" {
#endif
-#define LIBW3_VERSION "2.2I" \
+#define LIBW3_VERSION "2.2J" \
SUFFIX
#ifdef __cplusplus