markdown默认代码中增加pre防止空行被修改

This commit is contained in:
2024-11-23 17:19:31 +08:00
parent 6dd6379cbf
commit 0c6f7521fc

View File

@@ -15,7 +15,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Problem Add</title>
</head>
<?php
<pre?php
echo "<center><h3>".$MSG_PROBLEM."-".$MSG_ADD."</h3></center>";
include_once("kindeditor.php") ;
$source=pdo_query("select source from problem order by problem_id desc limit 1"); //默认续用最后一次的分类标签
@@ -43,8 +43,9 @@
</p>
<p align=left>
<?php echo "<h4>".$MSG_Description."(<64kB)</h4>"?>
<textarea class="kindeditor" rows=13 name=description cols=80><span class='md auto_select'>&nbsp;
&nbsp;</span></textarea><br>
<textarea class="kindeditor" rows=13 name=description cols=80><span class='md auto_select'><pre>
<br><br>
</pre></span></textarea><br>
</p>
<p align=left>
<?php echo "<h4>".$MSG_Input."(<64kB)</h4>"?>