修复错误
This commit is contained in:
@@ -121,9 +121,9 @@ if ($pr_flag) {
|
||||
<?php
|
||||
function trans_md($str)
|
||||
{
|
||||
return bbcode_to_html("<span class='md'>" + bbcode_to_html(
|
||||
return bbcode_to_html("<span class='md'>" .
|
||||
htmlentities($str, ENT_QUOTES, 'UTF-8')
|
||||
) + "</span>");
|
||||
. "</span>");
|
||||
}
|
||||
?>
|
||||
<div class="row">
|
||||
@@ -141,9 +141,9 @@ if ($pr_flag) {
|
||||
<div class="column">
|
||||
<h4 class="ui top attached block header"><?php echo $MSG_Input ?></h4>
|
||||
<div id='input' class="ui bottom attached segment font-content">
|
||||
<?php
|
||||
echo trans_md($row['input']);
|
||||
?>
|
||||
<?php
|
||||
echo trans_md($row['input']);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -153,9 +153,9 @@ if ($pr_flag) {
|
||||
<div class="column">
|
||||
<h4 class="ui top attached block header"><?php echo $MSG_Output ?></h4>
|
||||
<div id='output' class="ui bottom attached segment font-content">
|
||||
<?php
|
||||
echo trans_md($row['output']);
|
||||
?>
|
||||
<?php
|
||||
echo trans_md($row['output']);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -205,9 +205,9 @@ if ($pr_flag) {
|
||||
<div class="column">
|
||||
<h4 class="ui top attached block header"><?php echo $MSG_HINT ?></h4>
|
||||
<div id='hint' class="ui bottom attached segment font-content hint">
|
||||
<?php
|
||||
echo trans_md($row['hint']);
|
||||
?>
|
||||
<?php
|
||||
echo trans_md($row['hint']);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user