Skip to content
This repository was archived by the owner on Aug 6, 2020. It is now read-only.
This repository was archived by the owner on Aug 6, 2020. It is now read-only.

Fenced code: Some combinations of newlines and closing php tag do not html-escape characters #4

@asartalo

Description

@asartalo

The following text will render okay:

```php
<?php
// some code
$foo->bar();
?>
```

But this doesn't:

```php
<?php
// some code

$foo->bar();
?>
```

And produce this unescaped output

<pre><code class="language-php"><?php
// some code

$foo->bar();
?>
</code></pre>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions