HGustavs / LenaSYS

Code Viewer and Course Organization System used in some courses at University of Skövde
57 stars 31 forks source link

Markdown wrong and / or inconsistent between php and js #7775

Closed HGustavs closed 4 years ago

HGustavs commented 4 years ago

I have used this pattern in markdown

### Code Requirements for grade G

Code must be mostly correctly indented according to the K&R indentation format (see code example for indentation standard).

1. Present the array data from the code below using html in a table. All data in the array should be shown.
2. Use either columns or rows to present each vehicle. (choose code from either column or row examples)
3. No further styling is necessary, the default browser styling is sufficient.

### Code Requirements for grade VG
1. The background color for each vehicle must change depending on the country of the vehicle producer. Any producer in the belarus should have a yellow background, and any other producers should have a light blue background. Any CSS must be defined in the document head. (No external css files, see conditional code example)
2. Add styling to the rest of the elements to make the table  (use inline or css in head element, no external css files are allowed)
3. Add th elements and style th elements with a background color and text color (see various examples)

### Report Requirements
* Use the !!!showdoc.php?cid=13&fname=Dokumentmallen_programmering.zip,report template!!! from the course page and when finished upload the code compressed with zip, a link to your application (php web page), and the report as a pdf and then press the save button for the test below.
* Reports with no code will be failed
* Reports with code and no or very little text describing the code will be failed
* Paste the (sparsely commented) code that you have written into the document and write a short paragraph of text (a few lines of text) that describes the idea behind the code

In php markdown the numbering progresses increasingly to the right but in reality it should remain at the left.

I think that some of the ending of html tags is wonky. Please confirm this behavior in js and php markdown.

Screenshot 2020-03-24 10 59 19
a16vikva commented 4 years ago

If this is what's being referred to.: image It seems to already work, this seems to work for the #5460 as well.

Another issue here though is that the number 3 in the list is not working at all. @HGustavs

a16vikva commented 4 years ago

This issue is solved.