ba087be4 by Jonille Arreglo

Merge branch '27034_spacing' into '1DEVT'

27034 spacing

See merge request !44
2 parents e78cf681 d6012818
...@@ -114,7 +114,7 @@ function App() { ...@@ -114,7 +114,7 @@ function App() {
114 const regex = new RegExp(`\\b(${programmingKeywords.join('|')})\\b`, 'gi'); 114 const regex = new RegExp(`\\b(${programmingKeywords.join('|')})\\b`, 'gi');
115 const matches = parsedData.match(regex); 115 const matches = parsedData.match(regex);
116 if (!matches) { 116 if (!matches) {
117 var replaceTags = (parsedData.replace(/(?:\r\n|\r|\n)/g, '<br>').replace(/\./g, '. ')) 117 var replaceTags = (parsedData.replace(/(?:\r\n|\r|\n)/g, '<br>'))
118 } else { 118 } else {
119 replaceTags = (parsedData.replace(':',':<code>').replace('<?','&#60;?').replace('?>','?&#62;').replace(/\n/g, '<br>')) 119 replaceTags = (parsedData.replace(':',':<code>').replace('<?','&#60;?').replace('?>','?&#62;').replace(/\n/g, '<br>'))
120 } 120 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!