Adaptation au projet

Le code d'origine était celui du générateur de problèmes
pull/1/head
Optimal Sup-Spé 3 years ago
parent 3b9b5165bb
commit 5857273c0b
  1. 8
      src/GenerateurH5P.elm

@ -70,9 +70,9 @@ update msg model =
StructureDuContenu nouvelleStructure -> StructureDuContenu nouvelleStructure ->
let let
f strCtn = f strCtn =
case P.run (withIndent -1 contenu) strCtn of case P.run h5pParser strCtn of
Ok ctn -> Ok ctn ->
voirBlocs ctn h5pEncode 2 ctn
Err erreurs -> Err erreurs ->
deadEndsToStringBis erreurs deadEndsToStringBis erreurs
@ -87,9 +87,9 @@ update msg model =
GenererContenu -> GenererContenu ->
let let
f strCtn = f strCtn =
case P.run (withIndent -1 contenu) strCtn of case P.run h5pParser strCtn of
Ok ctn -> Ok ctn ->
voirBlocs ctn h5pEncode 0 ctn
Err erreurs -> Err erreurs ->
deadEndsToStringBis erreurs deadEndsToStringBis erreurs

Loading…
Cancel
Save