Skip to content

Commit

Permalink
Update problem.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Mar 20, 2024
1 parent ad37ee1 commit a690f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/web/template/bs3/problem.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ function selectMulti( num, answer){
$( document ).ready( function () {
$( "#creator" ).load( "problem-ajax.php?pid=<?php echo $id?>" );
<?php if(isset($OJ_MARKDOWN)&&$OJ_MARKDOWN){ ?>
$("div.md").each(function(){
$(".md").each(function(){
$(this).html(marked.parse($(this).html()));
});
<?php } ?>
Expand Down

0 comments on commit a690f98

Please sign in to comment.