Skip to content

Commit 621728d

Browse files
committed
是
1 parent 4665359 commit 621728d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎_includes/themes/twitter/post.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h1>{{ page.title }} {% if page.tagline %}<small>{{page.tagline}}</small>{% endi
5454

5555
var tmp = $("#md").html();
5656
alert(tmp);
57-
var tmp2 = tmp.replace(<pre><code>\n\/\/(.*)\n([\s\S]*?)</code></pre>\n, "<pre><code class=\"language-$1\">$2</code></pre>");
57+
var tmp2 = tmp.replace(/<pre><code>\n\/\/(.*)\n([\s\S]*?)</code></pre>\n/m, "<pre><code class=\"language-$1\">$2</code></pre>");
5858
alert(tmp2);
5959
while(tmp!=tmp2)
6060
{

0 commit comments

Comments
 (0)