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

api_to_html.php, header_transform() variables should not be in single quotes #137

Closed
connerbw opened this issue May 8, 2018 · 0 comments
Closed

Comments

@connerbw
Copy link
Contributor

@connerbw connerbw commented May 8, 2018

In PHP 7.1, this:

    $markdown = preg_replace_callback(
        '/(={4,}|-{4,})\n(.*?)(={4,}|-{4,})\n/s',
        function ($m) {
            return header_transform('$m[1]', '$m[2]');
        },
        $markdown
    );

Should be changed to this

    $markdown = preg_replace_callback(
        '/(={4,}|-{4,})\n(.*?)(={4,}|-{4,})\n/s',
        function ($m) {
            return header_transform($m[1], $m[2]);
        },
        $markdown
    );

Source...

PS: Here's a copy of the docs in HTML format. Generated today:

Lua Docs In HTML 2018-05-08.zip

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.