Adding spaces within a title object
Hi all!
We have an experiment in Jatos, and we need to modify one of the instructions for a task (IRI test). I've tried with <br> and \n but it didn't work. I am attaching the current code and output, as well as the output that I would like to achieve. I would appreciate any help. Thanks!
Current code:
"title": "Las siguientes declaraciones indagan sobre sus pensamientos y sentimientos en una variedad de situaciones. Para cada ítem, indique cuán bien la declaración lo/a describe: No me describe bien A ――― B ――― C ――― D ――― E Me describe muy bien. Lea cada ítem atentamente antes de responder. Intente ser lo más sincero/a posible.",
Current output:
Desired output:

Comments
Hi, if you're doing this with OSWeb, you should ask in their forum, as this is purely a front-end side question.
I'll move your question there.
Hi @bkogan86,
Can you clarify what kind of object contains that text? inline_javascript? inline_html? Something else?
Fabrice.
Hi @Fab ,
Thanks for your reply!
How can I recognize which type of inline is? On the other hand, could it be possible to add html to the title so it renderizes instead of replacing the tags for symbols? Find below the current part of the code:
<body>
<div id="demographics"></div>
<script>
jatos.onLoad(function () {
Survey.Survey.cssType = "bootstrap";
Survey.defaultBootstrapCss.navigationButton = "btn btn-green";
window.survey = new Survey.Model({
pages: [{
questions: [{
"type": "matrix",
"name": "iries",
"title": "Las siguientes declaraciones indagan sobre sus pensamientos y sentimientos en una variedad de situaciones. Para cada ítem, indique cuán bien la declaración lo/a describe: No me describe bien A ――― B ――― C ――― D ――― E Me describe muy bien. Lea cada ítem atentamente antes de responder. Intente ser lo más sincero/a posible.",