8000 Invalid output utf8 chars · Issue #74 · cebe/markdown · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Invalid output utf8 chars #74
Closed
Closed
@romeOz

Description

@romeOz

Hi, Cebe. May all the same you will add the flag u, as shown PHP Regex: How to match \r and \n without using [\r\n].

Namely:

$text = preg_replace('~\R~u', "\n", $text);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0