Skip to content

Commit

Permalink
FIX: user-presented strings are now correctly trimmed
Browse files Browse the repository at this point in the history
  • Loading branch information
LyonSyonII committed Dec 12, 2023
1 parent 21aa30b commit e40bd3f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/src/components/CodeQuestion.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ const {
{setup}
{validator}
code={code.trim()}
{errorMsg}
{placeholder}
errorMsg={errorMsg.trim()}
placeholder={placeholder.trim()}
{showLineNumbers}
{editable}
{lang}
{id}
/>
</QuestionCard>
@i18n/_langs
</QuestionCard>

0 comments on commit e40bd3f

Please sign in to comment.