stencila/designa

CodeExpression output: Unnecessary escaping of HTML

Closed this issue · 2 comments

The output of this CodeExpression has a < that is getting escaped in HTML when it should not be.

{

"type": "CodeExpression",
"duration": 0.02,
"output": "<0.001",
...
},

<output class="sc-stencila-code-expression-default">&lt;0.001</output>

Could you please elaborate on why it shouldn't be escaped @nokome? It seems correct to me as otherwise it'll cause syntax issues, no?

Mmm, yes I probably misdiagnosed this. The symptom is &lt; fragments being displayed:

image

Perhaps this should be made a designa issue?