Skip to content

Commit e17fe99

Browse files
authored
Replacing all line breaks
1 parent 87f2ef5 commit e17fe99

File tree

1 file changed

+1
-1
lines changed
  • src/web/Xrm.Oss.XTL.Editor/components

1 file changed

+1
-1
lines changed

src/web/Xrm.Oss.XTL.Editor/components/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 />

0 commit comments

Comments
 (0)