Permalink
Browse files

- api_to_html: don't wrap arguments in single quotes (fixes #137)

  • Loading branch information...
bjorn-nesby committed Oct 4, 2018
1 parent 1849c20 commit f35903b4e564d00aaa2b2a182ddc5eed983dbf3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 Xtra/HtmlGen/api_to_html.php
@@ -152,7 +152,7 @@ function header_transform($type, $string) {
$markdown = preg_replace_callback(
'/(={4,}|-{4,})\n(.*?)(={4,}|-{4,})\n/s',
function ($m) {
return header_transform('$m[1]', '$m[2]');
return header_transform($m[1], $m[2]);
},
$markdown
);

0 comments on commit f35903b

Please sign in to comment.