diff --git a/c/tex_parser/tex_table.c b/c/tex_parser/tex_table.c index 41ca5af..e7bf99e 100644 --- a/c/tex_parser/tex_table.c +++ b/c/tex_parser/tex_table.c @@ -381,7 +381,7 @@ int parse_table(const char *table_source, size_t len, struct table_s *table, str where_stack[tex_level--] = IN_UNDEF; i--; - } else if (isalnum(c) || c == '#') { + } else if (isalnum(c) || c == '#' || c == '&' || c < 0) { } else { error->code = (int)i;