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() {
const regex = new RegExp(`\\b(${programmingKeywords.join('|')})\\b`, 'gi');
const matches = parsedData.match(regex);
if (!matches) {
var replaceTags = (parsedData.replace(/(?:\r\n|\r|\n)/g, '<br>').replace(/\./g, '. '))
var replaceTags = (parsedData.replace(/(?:\r\n|\r|\n)/g, '<br>'))
} else {
replaceTags = (parsedData.replace(':',':<code>').replace('<?','&#60;?').replace('?>','?&#62;').replace(/\n/g, '<br>'))
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!