hmmlib2 2.0.6: Make '?' a break_on_punct char

This commit is contained in:
Matt Mascarenhas 2021-05-23 22:45:59 +01:00
parent 00fc6c0ae5
commit 0f67d4e658
1 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ static char* _hmml_read_attr(struct _hmml_parser* p, char* mem, size_t mem_size,
p->cursor = src+1; p->cursor = src+1;
} else { } else {
const char* breaks = break_on_punct const char* breaks = break_on_punct
? " ]\r\n\t:,'-.#=[\\" ? " ]\r\n\t:,'-.#=[\\?"
: " ]\r\n\t" : " ]\r\n\t"
; ;
@ -801,7 +801,7 @@ void hmml_free(HMML_Output* out)
} }
const struct HMML_Version hmml_version = { const struct HMML_Version hmml_version = {
2, 0, 5 2, 0, 6
}; };
#undef HSTX #undef HSTX