ocaml-sf / learn-ocaml

A Web Application for Learning OCaml

Home Page:https://ocaml-sf.org/learn-ocaml/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Highlight and write something on "Replace this string with your implementation."

rubujeto opened this issue · comments

Related user(s):

No response

Related issue(s) or PR(s):

No response

Related project scope(s):

web-app UI

Bug description:

When I open an exercice and highlight the string "Replace this string with your implementation." :
1-highlight_my_answer

When I type a letter to replace the string, the letter appears after the two semicolons :
2-answer_appears_after_commas

To reproduce:

No response

Expected behavior:

When I type letter on the highlighted text, the letter should appears before the two semicolons :
expeted_behavior

learn-ocaml --version

v1.0.0

git describe --long --always --abbrev=40 --tags

No response

What OS do you use?

GNU/Linux

What OS version/distribution do you use?

Ubuntu 20.04.6 LTS

What browser(s) do you use with learn-ocaml?

Firefox, Edge

What browser(s) version did you used to reproduce the issue?

Firefox115.6.0esr; Edge version 121.0.2277.83

Screenshots (if need be):

No response

Additional context:

No response