File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/web/Xrm.Oss.XTL.Editor/components Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ export default class WYSIWYGEditor extends React.PureComponent<any, WYSIWYGEdito
190190 </ FormGroup >
191191 < div className = "col-xs-6" >
192192 < ControlLabel > Result</ ControlLabel >
193- < div style = { { "height" : "50vh" , "border" : "1px solid lightgray" } } > { Parser ( this . state . resultText . replace ( "\n" , "<br />" ) ) } </ div >
193+ < div style = { { "height" : "50vh" , "border" : "1px solid lightgray" } } > { Parser ( this . state . resultText . replace ( / \n / g , "<br />" ) ) } </ div >
194194 < FormGroup controlId = "output" >
195195 < ControlLabel style = { { "padding-top" : "10px" } } > Interpreter Trace</ ControlLabel >
196196 < FormControl style = { { "height" : "50vh" } } onChange = { this . criteriaChanged } componentClass = "textarea" value = { this . state . traceLog } disabled />
You can’t perform that action at this time.
0 commit comments