Comments (1)
Line breaks are replaced by spaces, correct. And two spaces will be replaced by one. I don't think there's a workaround currently except for accepting You got a B! You got a C! You got a D!
which would be beyond the point having a print
exercise.
The respective replacement function has an argument for actual the line break replacement (falling back to
) already, but it's not used anywhere. Until now ...
I just added an option that allows to change the line break replacement to \n
for cases like yours. Please note, however, that it's beyond my powers to update Essay on the H5P Hub. You'll have to request the H5P core team to retrieve the latest version of Essay (1.5.7) and use that.
from h5p-essay.
Related Issues (20)
- Wildcard and regular expressions only work with letters, not numbers. HOT 22
- Explain scoring
- xAPI for Essay HOT 1
- Fix a11y
- String.prototype.startsWith() HOT 3
- Improve reporting HOT 1
- H5P Essay question HOT 3
- Forgive minor mistakes setting HOT 3
- Grades are not reported to LMS? HOT 1
- Optionally hightlight words that have been detected in text HOT 3
- Retry Button not available HOT 1
- Case sensitive switch does not work for RegExp HOT 3
- Take care of xAPI "attempted" via setActivityStarted()
- Support "Reizwortgeschichten"
- A single `*` freezes the browser HOT 3
- feedback about keywords not really easy to understand HOT 1
- Pass 'i' flag to regex if !caseSensitive HOT 3
- essay.js fails to handle null previousState HOT 8
- How to upgrade h5p essay to the latest version of this repo in my Moodle? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h5p-essay.