Exclude @exclude from description text.

Use decimal entities.
This commit is contained in:
Michael Sweet 2017-05-31 10:41:34 -04:00
parent dc87d4ad50
commit 6689e9f805

View File

@ -3736,6 +3736,7 @@ write_description(
{
if (*ptr == '@' &&
(!strncmp(ptr + 1, "deprecated@", 11) ||
!strncmp(ptr + 1, "exclude ", 8) ||
!strncmp(ptr + 1, "since ", 6)))
{
ptr ++;
@ -3827,16 +3828,7 @@ write_description(
ptr += 2;
}
if (ch == 0xa0)
{
/*
* Handle non-breaking space as-is...
*/
fputs(" ", out);
}
else
fprintf(out, "&#x%x;", ch);
fprintf(out, "&#%d;", ch);
}
else if (*ptr == '\n' && ptr[1] == '\n' && ptr[2] && ptr[2] != '@')
{