Skip to content
Extraits de code Groupes Projets
Valider 46e930fd rédigé par Matthieu Aubry's avatar Matthieu Aubry Validation de GitHub
Parcourir les fichiers

Make <code> blocks the backticks

parent 8e491dc0
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -108,8 +108,6 @@ class Proxy extends Singleton ...@@ -108,8 +108,6 @@ class Proxy extends Singleton
// replace 'foo' and `bar` and "foobar" with code blocks... much magic // 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);
$doc = preg_replace("/'(.*?)'/", '<code>$1</code>', $doc);
$this->metadataArray[$className]['__documentation'] = $doc; $this->metadataArray[$className]['__documentation'] = $doc;
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter