jcrodriguez-dis / moodle-mod_vpl

Virtual Programming Lab for Moodle (Module)
GNU General Public License v3.0
97 stars 84 forks source link

Loss of robustness on block comments since update 4.2 #168

Closed Astor-Bizard closed 1 month ago

Astor-Bizard commented 4 months ago

Update 4.2 brought some improvements in parsing execution results into comments.
However, it also came with a minor drawback: block comments are less robust to whitespaces.

Now, block comments must start and end with lines containing exactly <|-- and --|> with no whitespaces around whatsoever.
If these lines contain whitespaces, the whole block will not be shown to students.

I'm logging this as an issue because it breaks activities that were working fine before.

Astor-Bizard commented 4 months ago

I proposed a fix in #169 .