Adding new lines to student feedback

Adding new lines to student feedback

ved John Andre -
Antal besvarelser: 4

I'm using Moodle 3.10 and grading is done externally to Moodle and then later the grades and feedback are uploaded (by pasting from spreadsheet). In general this process has been working well for years. However, I would like to see if it is possible to change something.

Currently, when I upload feedback which includes multiple lines for a single student, when it displays in Moodle all the lines are run together.

For example, if I paste:

-------------

Your strengths were:
* Great formatting
* Good overall flow

You could improve by:
* Referencing better quality sources
* Improving your grammar usage

-------------

What shows to the student is:

-------------

Your strengths were: * Great formatting * Good overall flow You could improve by: * Referencing better quality sources * Improving your grammar usage

-------------

Is there any way to get the feedback to show with the line breaks?

Thanks in advance for any advice.


Gennemsnitsbedømmelse: -
I svar til John Andre

Re: Adding new lines to student feedback

ved Howard Miller -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
I'm not sure... but I think your issue is that in Moodle the comments are HTML but spreadsheets (at least none I have seen) don't support HTML. So, when the browser displays the text it compresses out the extra white space.
Gennemsnitsbedømmelse:Useful (1)
I svar til Howard Miller

Re: Adding new lines to student feedback

ved John Andre -
Thanks Howard. I did not even think of that. I can fix the problem just by adding some HTML to the data I import into Moodle and that will give me what I want.
I svar til John Andre

Re: Adding new lines to student feedback

ved Howard Miller -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
Just putting 'pre' tags around your text may be all you need.
I svar til Howard Miller

Re: Adding new lines to student feedback

ved John Andre -
I tried it both ways. The pre tag does not work well.

I am sure the tag itself works fine. However, there is a problem when pasting the grades. When you paste the grades, it "flattens" out the text, which removes all the line breaks. However, adding br tags as needed works great.

Luckily, the output is coming from a program I wrote so I can easily automate this.
Gennemsnitsbedømmelse:Useful (1)