Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CentralNic
parsedown
Commits
8baf537c
Commit
8baf537c
authored
Dec 02, 2013
by
Emanuil Rusev
Browse files
resolve #40
parent
05823567
Changes
1
Hide whitespace changes
Inline
Side-by-side
Parsedown.php
View file @
8baf537c
...
...
@@ -568,7 +568,11 @@ class Parsedown
strpos
(
$text
,
"
\x1A\\
"
)
!==
FALSE
and
$text
=
strtr
(
$text
,
$this
->
escape_sequence_map
);
$markup
.
=
'<pre><code>'
.
$text
.
'</code></pre>'
.
"
\n
"
;
$markup
.
=
isset
(
$element
[
'language'
])
?
'<pre><code class="language-'
.
$element
[
'language'
]
.
'">'
.
$text
.
'</code></pre>'
:
'<pre><code>'
.
$text
.
'</code></pre>'
;
$markup
.
=
"
\n
"
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment