From 46e930fdd3da323e51a21e5b77eca6f8c1e9d1f3 Mon Sep 17 00:00:00 2001 From: Matthieu Aubry <mattab@users.noreply.github.com> Date: Thu, 20 Oct 2016 13:18:40 +1300 Subject: [PATCH] Make <code> blocks the backticks --- core/API/Proxy.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/API/Proxy.php b/core/API/Proxy.php index 9cef9ff840..a067022e47 100644 --- a/core/API/Proxy.php +++ b/core/API/Proxy.php @@ -108,8 +108,6 @@ class Proxy extends Singleton // replace 'foo' and `bar` and "foobar" with code blocks... much magic $doc = preg_replace('/`(.*?)`/', '<code>$1</code>', $doc); - $doc = preg_replace('/"(.*?)"/', '<code>$1</code>', $doc); - $doc = preg_replace("/'(.*?)'/", '<code>$1</code>', $doc); $this->metadataArray[$className]['__documentation'] = $doc; } -- GitLab