Skip to content

Commit

Permalink
always use answerRule optional name argument for PGbasicmacros answer…
Browse files Browse the repository at this point in the history
… rules
  • Loading branch information
Alex-Jordan committed Jun 26, 2023
1 parent 838bff9 commit 3c24cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/core/PGbasicmacros.pl
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ sub NAMED_ANS_RULE {
$tcol = $tcol < 40 ? $tcol : 40; ## get min

MODES(
TeX => ($name ? "\\answerRule[$name]{$tcol}" : "\\answerRule{$tcol}"),
TeX => "\\answerRule[$name]{$tcol}",
Latex2HTML => qq!\\begin{rawhtml}<input type=text size=$col name="$name" value="">\\end{rawhtml}!,

# Note: codeshard is used in the css to identify input elements that come from pg
Expand Down

0 comments on commit 3c24cc9

Please sign in to comment.