We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58da865 commit 74cac18Copy full SHA for 74cac18
app/domain/Lio/Markdown/Markdown.php
@@ -7,11 +7,6 @@ class Markdown extends MarkdownExtra
7
public function transform($content)
8
{
9
$parsedContent = parent::transform($content);
10
-
11
- // $parsedContent = str_replace('<p><code>', '<pre><code>', $parsedContent);
12
- // $parsedContent = str_replace('</code></p>', '</code></pre>', $parsedContent);
13
14
- // $parsedContent = str_replace('<pre><code>', '<pre class="prettyprint"><code>', $parsedContent);
15
$parsedContent = str_replace('<code>', '<code class="prettyprint">', $parsedContent);
16
17
return $parsedContent;
0 commit comments