Merge branch '27034_spacing' into '1DEVT'
27034 spacing See merge request !44
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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('<?','<?').replace('?>','?>').replace(/\n/g, '<br>')) | 119 | replaceTags = (parsedData.replace(':',':<code>').replace('<?','<?').replace('?>','?>').replace(/\n/g, '<br>')) |
| 120 | } | 120 | } | ... | ... |
-
Please register or sign in to post a comment