Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CN: Fix #860, escape ampersand in pp string HTML #907

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

dc-mak
Copy link
Contributor

@dc-mak dc-mak commented Mar 5, 2025

We don't have automatic testing for HTML output (yet) and so this is the test case:

void f(void)
{
    int region = 1;
    /*@ assert(false); @*/
}

If the ampersand is not escaped, on the last page of the output, the &region turns into "(R)ion".

@dc-mak dc-mak marked this pull request as ready for review March 5, 2025 12:40
@dc-mak dc-mak changed the title CN: Fix 860, escape ampersand in pp string HTML CN: Fix #860, escape ampersand in pp string HTML Mar 5, 2025
We don't have automatic testing for HTML output (yet) and so this is the
test case:

```c
void f(void)
{
    int region = 1;
    /*@ assert(false); @*/
}
```

If the ampersand is not escaped, on the last page of the output, the
&region turns into "(R)ion".
@dc-mak dc-mak force-pushed the cn-html-escape-ampersand branch from 4fd130a to cf1cd6c Compare March 5, 2025 12:41
@dc-mak dc-mak merged commit ee59264 into rems-project:master Mar 5, 2025
5 checks passed
@dc-mak dc-mak deleted the cn-html-escape-ampersand branch March 5, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant