Skip to content

Commit

Permalink
Remove obselete quoting for STFL
Browse files Browse the repository at this point in the history
The quoting was previously needed because we were directly including the
text in an STFL form specification.
This is no longer necessary now that we use the `stfl_set()` call.
  • Loading branch information
dennisschagt authored and Minoru committed Mar 5, 2023
1 parent c1d3e4e commit b238ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/formaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ void FormAction::start_next_question()
*/
if (qna_prompts.size() > 0) {
f.set("qna_prompt", qna_prompts[0].first);
f.set("qna_value", Stfl::quote(qna_prompts[0].second));
f.set("qna_value", qna_prompts[0].second);

f.set("show_qna_label", "1");
f.set("show_qna_input", "1");
Expand Down

0 comments on commit b238ff0

Please sign in to comment.