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

HTML tags visible in code examples on std.algorithm.mutation.remove page #4147

Open
dlangBugzillaToGithub opened this issue Oct 22, 2024 · 1 comment

Comments

@dlangBugzillaToGithub
Copy link

Liam M reported this on 2024-10-22T03:27:39Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=24826

CC List

Description

Created attachment 1921
The page in question at the time of this bug report.

It's an issue with this page here:
https://dlang.org/library/std/algorithm/mutation/remove.html

A code example on this page shows the following:
```
import std.algorithm.mutation;
string[] a = [ "a"
</div>

Note that <code class="lang-d"><span class="pln">remove</span></code> does not change the length of the original range directly;
instead, it returns the shortened range. If its return value is not assigned to
the original range, the original range will retain its original length, though
its contents will have changed:

<div class="runnable-examples">

```
This code is supposed to be runnable, but clicking on "Run" will of course result in errors.

More examples further down the page also have this issue.

!!!There are attachements in the bugzilla issue that have not been copied over!!!

@dlangBugzillaToGithub
Copy link
Author

nick (@ntrel) commented on 2024-10-22T16:33:08Z

> https://dlang.org/library/std/algorithm/mutation/remove.html

That's DDox:
https://github.com/dlang/ddox/issues/

Possibly related to:
https://github.com/dlang/ddox/issues/248

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant