Closed bertfrees closed 2 years ago
I think maybe there needs to be a null check here:
if (value.name == null) {
value.name = "";
}
Maybe it would work with <value></value>
in the datatype? It would probably give a text node, as opposed to <value/>
. To prevent editors from closing the tag, maybe try: <value><![CDATA[]]></value>
.
Thanks!
if (value.name == null) { value.name = ""; }
This worked!
For instance, the "braille-code" option of the html-to-pef script is defined by the following data type. When the value is left to the default, "-" will be passed to the Pipeline server instead of "". My current workaround is to change the first value of the data type to " " (
<value> </value>
). That works fine.@josteinaj I'm not sure where to look for this bug. Got a pointer?