Skip to content

Commit bb221da

Browse files
committed
fix for quarto
1 parent 22a677f commit bb221da

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

NEWS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
checkdown 0.0.10 (16.08.2023)
1+
checkdown 0.0.10 (23.08.2023)
22
- fix option `title` to the `check_question()` function
33
- add the insert_audio() function
4+
- fix `in_order` option for quarto
45

56
checkdown 0.0.9 (10.08.2023)
67
- add type `in_order` to the `check_question()` function

R/check_question.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ check_question <- function(answer,
171171

172172
UI_part <- answers |>
173173
htmltools::tags$tr(id = glue::glue("task_{q_id}")) |>
174-
htmltools::tags$table()
174+
htmltools::tags$table(`data-quarto-disable-processing` = "true")
175175

176176
} else if(alignment == "vertical"){
177177
answers <- lapply(answer_sample, function(i){
@@ -194,7 +194,7 @@ check_question <- function(answer,
194194

195195
UI_part <- answers |>
196196
htmltools::tags$tbody(id = glue::glue("task_{q_id}")) |>
197-
htmltools::tags$table()
197+
htmltools::tags$table(`data-quarto-disable-processing` = "true")
198198
}
199199
}
200200

0 commit comments

Comments
 (0)