Notifications from Claws Mail keep the <and >. Shouldn't decode_html_entities replace them with < and >?
I'm using fnott v1.7.0 on FreeBSD.
Notifications from Claws Mail keep the <and >. Shouldn't decode_html_entities replace them with < and >?
I'm using fnott v1.7.0 on FreeBSD.
It seems, that fnott uses obsolete ("basic") regular expressions, but then is '|' an ordinary character and there is no equivalent for its functionality.
When i compiled regular expression as modern ("extended") RE, then decode_html_entities started to work:
int r = regcomp(
&mgr->html_entity_re,
/* Entity names (there's a *lot* of these - we only support the common ones */
"&(nbsp|lt|gt|amp|quot|apos|cent|pound|yen|euro|copy|reg);|"
/* Decimal entity number: ' */
"&#([0-9]+);|"
/* Hexadecimal entity number: ' */
"&#x([0-9a-fA-F]+);", REG_EXTENDED);
We can switch to an extended expression. The current one works just fine on Linux, so there must be some different in the regex implementations in glibc and FreeBSD's libc.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?