Skip to content

WASM runnable examples: multiple line returns collapsed #1464

@AllenJB

Description

@AllenJB

Affected Page URL

https://www.php.net/manual/en/function.htmlentities.php#example-5076

Describe the bug

The htmlentities example #1, among many others throughout the manual use an explicit double line return in their output.

In the runnable output (not the static, hardcoded example output), these are collapsed into a single line return.

I suspect other examples that may contain a double line return in their output are also affected.

Steps to reproduce

Press the Run button on any example that should contain a double line return in its output.

Expected behavior

A blank line is shown where the double line return occurs.

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions