mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-24 11:25:30 +00:00
Exclude @exclude from description text.
Use decimal entities.
This commit is contained in:
parent
dc87d4ad50
commit
6689e9f805
12
mxmldoc.c
12
mxmldoc.c
@ -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] != '@')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user